- Fixed typo: '$node->nide' -> '$node->nid'. Patch by Alastair.

4.2.x
Dries Buytaert 2003-02-01 20:04:00 +00:00
parent 6746ee41f5
commit c23f53f786
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {