summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book')
-rw-r--r--modules/book/book.module2
-rw-r--r--modules/book/book.pages.inc4
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'));
}
/**