summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-01 22:54:16 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-01 22:54:16 +0000
commit4d8b485fad960ea6551111e58f8c59df053b4456 (patch)
tree51c7738a0ee2d4ac3e63552643de52bab1c41da5 /modules/book.module
parente205fee081d307ee7a3ef2248fbb3ded7fcf003c (diff)
downloadbrdo-4d8b485fad960ea6551111e58f8c59df053b4456.tar.gz
brdo-4d8b485fad960ea6551111e58f8c59df053b4456.tar.bz2
- Added error handling support to the <node>_form hook.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module
index 84c7d00de..3b88c3376 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -155,7 +155,7 @@ function book_toc($parent = "", $indent = "", $toc = array()) {
return $toc;
}
-function book_form($node) {
+function book_form($node, $error) {
global $user;
$output .= form_select(t("Parent"), "parent", $node->parent, book_toc(), t("The parent subject or category the page belongs in."));