diff --git a/modules/page.module b/modules/page.module index def7cf3178e..8e9ab201f42 100644 --- a/modules/page.module +++ b/modules/page.module @@ -76,7 +76,7 @@ function page_insert($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) { diff --git a/modules/page/page.module b/modules/page/page.module index def7cf3178e..8e9ab201f42 100644 --- a/modules/page/page.module +++ b/modules/page/page.module @@ -76,7 +76,7 @@ function page_insert($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) {