Commit bf300292 authored by Dries's avatar Dries
Browse files

- Made the teaser work for HTML book pages.  Patch by Nick.
parent 0215c503
......@@ -150,7 +150,7 @@ function book_validate(&$node) {
else {
$node->format = 0;
$node->body = filter($node->body);
$node->teaser = filter($node->body);
$node->teaser = filter($node->teaser);
}
// Set default values for non administrators:
......
......@@ -150,7 +150,7 @@ function book_validate(&$node) {
else {
$node->format = 0;
$node->body = filter($node->body);
$node->teaser = filter($node->body);
$node->teaser = filter($node->teaser);
}
// Set default values for non administrators:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment