Commit 8fc513e1 authored by webchick's avatar webchick

#408562 by BruceBGordon: Code clean-up.

parent f85f7cf8
......@@ -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'],
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment