summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-06-03 11:19:38 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-06-03 11:19:38 +0000
commitbe59d6a674e5a16c98bb7372e8c024c7c676e5ec (patch)
treec7206a5ec74f81a3815c13d6e85c9f693ca102e0
parentc0b85a5721be04cec2f5e0d4a61200e43f2a9d92 (diff)
downloadbrdo-be59d6a674e5a16c98bb7372e8c024c7c676e5ec.tar.gz
brdo-be59d6a674e5a16c98bb7372e8c024c7c676e5ec.tar.bz2
- Fixing bug 5845: Root page of book module does use <--break-->.
-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 7a36a03d2..bf55805b0 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -695,7 +695,7 @@ function book_render() {
// output the content:
$output .= '<div class="book">';
$output .= '<div class="title">'. l($node->title, "book/view/$node->nid") .'</div>';
- $output .= '<div class="body">'. $node->body .'</div>';
+ $output .= '<div class="body">'. $node->teaser .'</div>';
$output .= '</div>';
}
}
diff --git a/modules/book/book.module b/modules/book/book.module
index 7a36a03d2..bf55805b0 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -695,7 +695,7 @@ function book_render() {
// output the content:
$output .= '<div class="book">';
$output .= '<div class="title">'. l($node->title, "book/view/$node->nid") .'</div>';
- $output .= '<div class="body">'. $node->body .'</div>';
+ $output .= '<div class="body">'. $node->teaser .'</div>';
$output .= '</div>';
}
}