diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-23 21:20:59 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-23 21:20:59 +0000 |
commit | 4a689a99b97b72f351c15f3f6dc99fd0cf735378 (patch) | |
tree | 2afeff37a172aace7f2d1cbfc3d62794fe42a26e /modules/book.module | |
parent | cef7ca77a3101a55a654a215102f728d6dd71262 (diff) | |
download | brdo-4a689a99b97b72f351c15f3f6dc99fd0cf735378.tar.gz brdo-4a689a99b97b72f351c15f3f6dc99fd0cf735378.tar.bz2 |
#55493, Editing an existing book page kills Drupal, patch by chx
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module index 825ac5c0c..5ecd04a83 100644 --- a/modules/book.module +++ b/modules/book.module @@ -248,7 +248,7 @@ function book_validate($node) { */ function book_form(&$node) { if ($node->nid && !$node->parent && !user_access('create new books')) { - $form['parent'] = array('#type' => 'value', $node->parent); + $form['parent'] = array('#type' => 'value', '#value' => $node->parent); } else { $form['parent'] = array('#type' => 'select', |