diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-22 23:24:26 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-22 23:24:26 +0000 |
commit | ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23 (patch) | |
tree | 504da530868d5672961d8a3d381f4577bc67c67d /modules/book | |
parent | ed48af4c411b9199b947b6887fba34550be5aa20 (diff) | |
download | brdo-ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23.tar.gz brdo-ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23.tar.bz2 |
#203274 by Pasqualle: remove excessive witespace from our code (minor)
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.pages.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index ff3b9f4e7..37507465e 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -1049,7 +1049,7 @@ function book_menu_subtree_data($item) { $data = $cache->data; } else { - $match = array("menu_name = '%s'"); + $match = array("menu_name = '%s'"); $args = array($item['menu_name']); $i = 1; while ($i <= MENU_MAX_DEPTH && $item["p$i"]) { diff --git a/modules/book/book.pages.inc b/modules/book/book.pages.inc index f576e2d14..a744e97a4 100644 --- a/modules/book/book.pages.inc +++ b/modules/book/book.pages.inc @@ -143,7 +143,7 @@ function book_outline_form(&$form_state, $node) { * * @see book_outline_form() */ -function book_remove_button_submit($form, &$form_state) { +function book_remove_button_submit($form, &$form_state) { $form_state['redirect'] = 'node/'. $form['#node']->nid .'/outline/remove'; } @@ -196,7 +196,7 @@ function book_remove_form(&$form_state, $node) { $description = t('%title may be added to hierarchy again using the Outline tab.', $title); } - return confirm_form($form, t('Are you sure you want to remove %title from the book hierarchy?', $title), 'node/'. $node->nid, $description, t('Remove')); + return confirm_form($form, t('Are you sure you want to remove %title from the book hierarchy?', $title), 'node/'. $node->nid, $description, t('Remove')); } /** |