From 309b41180374df7ef88342ae6efaa19fdb518dd7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 24 Sep 2004 05:48:21 +0000 Subject: - Modified patch #10904 by JonathanS: fixed book teasers not being check_output'ed. --- modules/book.module | 2 +- modules/book/book.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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 .= '
'; $output .= '
'. l($node->title, 'node/'. $node->nid) .'
'; 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 .= '
'; $output .= '
'. l($node->title, 'node/'. $node->nid) .'
'; -- cgit v1.2.3