summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-30 05:40:44 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-30 05:40:44 +0000
commit8fc513e1d8047df5ea1f63391bbe548ac1264d20 (patch)
treeed27faaa29cafaf114431bc10e93273937021b6b /modules
parentf85f7cf8c109bdec720eb68c15c04f31b565a873 (diff)
downloadbrdo-8fc513e1d8047df5ea1f63391bbe548ac1264d20.tar.gz
brdo-8fc513e1d8047df5ea1f63391bbe548ac1264d20.tar.bz2
#408562 by BruceBGordon: Code clean-up.
Diffstat (limited to 'modules')
-rw-r--r--modules/book/book.module4
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'],
);
}