diff options
-rw-r--r-- | modules/book/book.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index 6912c1b8b..717bcd185 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -72,8 +72,8 @@ function book_node_view_link($node, $teaser, $page) { if ((user_access('add content to books') || user_access('administer book outlines')) && node_access('create', $child_type) && $node->status == 1 && $node->book['depth'] < MENU_MAX_DEPTH) { $links['book_add_child'] = array( 'title' => t('Add child page'), - 'href' => "node/add/" . str_replace('_', '-', $child_type), - 'query' => "parent=" . $node->book['mlid'], + 'href' => 'node/add/' . str_replace('_', '-', $child_type), + 'query' => 'parent=' . $node->book['mlid'], ); } |