summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-24 16:26:13 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-24 16:26:13 +0000
commit45d5aad6dfde192ef5b986f3233a41f15d035f24 (patch)
treeba9364c6c2610498ba07e430925c868a6c9e45fa /modules/book.module
parent17e5b5c2d792fea207173c23bb76636297a21a03 (diff)
downloadbrdo-45d5aad6dfde192ef5b986f3233a41f15d035f24.tar.gz
brdo-45d5aad6dfde192ef5b986f3233a41f15d035f24.tar.bz2
- Updated Drupal to use "on output" filters. Derived from Gerhard's patch.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/book.module b/modules/book.module
index dcc40ae25..200ea3c11 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -149,8 +149,6 @@ function book_validate(&$node) {
}
else {
$node->format = 0;
- $node->body = filter($node->body);
- $node->teaser = filter($node->teaser);
}
// Set default values for non administrators:
@@ -363,7 +361,7 @@ function book_body($node) {
ob_end_clean();
}
else {
- $output = check_output(filter($node->body));
+ $output = check_output($node->body);
}
return $output;