diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-25 21:02:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-25 21:02:33 +0000 |
commit | 632c09e4196ff6759d78c7b28de6a1c5764a41ef (patch) | |
tree | 359c0249f9f0678af6042c35f794c6d6998b6bff | |
parent | 4d731dd369588fe327da276267df489ea978cf7e (diff) | |
download | brdo-632c09e4196ff6759d78c7b28de6a1c5764a41ef.tar.gz brdo-632c09e4196ff6759d78c7b28de6a1c5764a41ef.tar.bz2 |
- Patch #114745 by moonray: book module: can't remove top-level node.
-rw-r--r-- | modules/book/book.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index d96972a78..5d4ca8124 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -267,7 +267,7 @@ function book_outline($node) { ); $form['nid'] = array('#type' => 'value', '#value' => $nid); - if ($node->parent) { + if (isset($node->parent)) { $form['update'] = array('#type' => 'submit', '#value' => t('Update book outline'), ); |