summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book.module')
-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 7f7d48409..99d3f2d24 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -133,12 +133,12 @@ function book_update($node) {
db_query("UPDATE book SET parent = '$node->parent', weight = '$node->weight' WHERE nid = '$node->nid'");
}
-function book_delete($node) {
+function book_delete(&$node) {
db_query("DELETE FROM book WHERE nid = '$node->nid'");
}
-function book_form($node, $help, $error) {
+function book_form(&$node, &$help, &$error) {
global $user;
$output .= form_select(t("Parent"), "parent", $node->parent, book_toc(), t("The parent subject or category the page belongs in."));