Index: modules/book/book.module =================================================================== RCS file: /cvs/drupal/drupal/modules/book/book.module,v retrieving revision 1.464 diff -u -p -r1.464 book.module --- modules/book/book.module 15 May 2008 21:19:24 -0000 1.464 +++ modules/book/book.module 16 Jun 2008 06:45:03 -0000 @@ -301,13 +301,13 @@ function book_form_alter(&$form, $form_s $access = user_access('administer book outlines'); if (!$access) { - if (user_access('add content to books') && ((!empty($node->book['mlid']) && !empty($node->nid)) || book_type_is_allowed($node->type))) { + if (user_access('add content to books') && (!empty($node->book['mlid']) && !empty($node->nid))) { // Already in the book hierarchy, or this node type is allowed. $access = TRUE; } } - if ($access) { + if ($access && book_type_is_allowed($node->type)) { _book_add_form_elements($form, $node); $form['book']['pick-book'] = array( '#type' => 'submit',