summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/book.module2
-rw-r--r--modules/book/book.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module
index f349991fd..0d1b1e690 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -588,7 +588,7 @@ function book_render() {
if ($node) {
// Take the most recent approved revision, extract the page and check output:
- $node = book_content($node);
+ $node = book_content($node, TRUE);
// Output the content:
$output .= '<div class="book">';
$output .= '<div class="title">'. l($node->title, 'node/'. $node->nid) .'</div>';
diff --git a/modules/book/book.module b/modules/book/book.module
index f349991fd..0d1b1e690 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -588,7 +588,7 @@ function book_render() {
if ($node) {
// Take the most recent approved revision, extract the page and check output:
- $node = book_content($node);
+ $node = book_content($node, TRUE);
// Output the content:
$output .= '<div class="book">';
$output .= '<div class="title">'. l($node->title, 'node/'. $node->nid) .'</div>';