Skip to content
Snippets Groups Projects
Commit c23f53f7 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed typo: '$node->nide' -> '$node->nid'.  Patch by Alastair.
parent 6746ee41
No related branches found
Tags 5.0.5
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -76,7 +76,7 @@ function page_insert($node) { ...@@ -76,7 +76,7 @@ function page_insert($node) {
} }
function page_update($node) { function page_update($node) {
db_query("UPDATE page SET format = '%d', link = '%s', description = '%s' WHERE nid = '%d'", $node->format, $node->link, $node->description, $node->nide); db_query("UPDATE page SET format = '%d', link = '%s', description = '%s' WHERE nid = '%d'", $node->format, $node->link, $node->description, $node->nid);
} }
function page_delete(&$node) { function page_delete(&$node) {
......
...@@ -76,7 +76,7 @@ function page_insert($node) { ...@@ -76,7 +76,7 @@ function page_insert($node) {
} }
function page_update($node) { function page_update($node) {
db_query("UPDATE page SET format = '%d', link = '%s', description = '%s' WHERE nid = '%d'", $node->format, $node->link, $node->description, $node->nide); db_query("UPDATE page SET format = '%d', link = '%s', description = '%s' WHERE nid = '%d'", $node->format, $node->link, $node->description, $node->nid);
} }
function page_delete(&$node) { function page_delete(&$node) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment