diff --git a/modules/book/book.admin.inc b/modules/book/book.admin.inc index a3b232c544c47f9c76b47f153bc6b1e5564d93ed..8aa66259226de3d17359c4f5b63a6c78a6b28a9c 100644 --- a/modules/book/book.admin.inc +++ b/modules/book/book.admin.inc @@ -27,7 +27,6 @@ function book_admin_overview() { * @ingroup forms */ function book_admin_settings() { - $types = node_get_types('names'); $form['book_allowed_types'] = array( '#type' => 'checkboxes', @@ -45,6 +44,7 @@ function book_admin_settings() { '#description' => t('The content type for the %add-child link must be one of those selected as an allowed book outline type.', array('%add-child' => t('Add child page'))), '#required' => TRUE, ); + $form['array_filter'] = array('#type' => 'value', '#value' => TRUE); $form['#validate'][] = 'book_admin_settings_validate'; return system_settings_form($form); }