summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 8f3fb2915..c56725f3c 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -63,7 +63,7 @@ function book_link($type, $node = NULL, $teaser = FALSE) {
if ($type == 'node' && isset($node->parent)) {
if (!$teaser) {
- if (book_access('create', $node)) {
+ if (book_access('create', $node) && $node->status == 1) {
$links['book_add_child'] = array(
'title' => t('Add child page'),
'href' => "node/add/book/parent/$node->nid"