diff options
Diffstat (limited to 'modules/book/book.module')
-rw-r--r-- | modules/book/book.module | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index 73c348942..9d5938331 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -745,7 +745,11 @@ function book_children($book_link) { } } - return $children ? drupal_render(menu_tree_output($children)) : ''; + if ($children) { + $elements = menu_tree_output($children); + return drupal_render($elements); + } + return ''; } /** |