summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-09-24 05:48:21 +0000
committerDries Buytaert <dries@buytaert.net>2004-09-24 05:48:21 +0000
commit309b41180374df7ef88342ae6efaa19fdb518dd7 (patch)
tree921be8b850e7eda389564ff9ac6cfbced2bb8471
parentf298481316427a829220ce5d32c63436dba9b2b4 (diff)
downloadbrdo-309b41180374df7ef88342ae6efaa19fdb518dd7.tar.gz
brdo-309b41180374df7ef88342ae6efaa19fdb518dd7.tar.bz2
- Modified patch #10904 by JonathanS: fixed book teasers not being check_output'ed.
-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>';