summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-25 20:06:06 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-25 20:06:06 +0000
commit56b35360eda1b2777da112c14ea2cc1efa0c1448 (patch)
treee36747b1c372b9b3fccc46c62b043be5e724855a /modules/book
parent168db4c99e13586ff8f2087e7db77606c287d326 (diff)
downloadbrdo-56b35360eda1b2777da112c14ea2cc1efa0c1448.tar.gz
brdo-56b35360eda1b2777da112c14ea2cc1efa0c1448.tar.bz2
- Fixed problem with book.module (reported by Jared).
- Fixed problem with forum.module (reported by Jared).
Diffstat (limited to 'modules/book')
-rw-r--r--modules/book/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index c8c8ad85a..0365e9833 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -168,13 +168,13 @@ function book_delete($node) {
function book_insert($node) {
if ($node->pid && $node->status == node_status("posted")) {
- db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'", 1);
+ db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'");
}
}
function book_update($node) {
if ($node->pid && $node->status == node_status("posted")) {
- db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'", 1);
+ db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'");
}
}