diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-27 20:50:34 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-27 20:50:34 +0000 |
commit | cb2850f5c90c0bd293f8ba7e3f2fbc1417a76d30 (patch) | |
tree | bc55b323c53c2d3ed6c569dc58934ed772f8d788 /modules/story.module | |
parent | b5748332100305cbb9912e31056435b555357ae1 (diff) | |
download | brdo-cb2850f5c90c0bd293f8ba7e3f2fbc1417a76d30.tar.gz brdo-cb2850f5c90c0bd293f8ba7e3f2fbc1417a76d30.tar.bz2 |
Fixed a bug in the output: there was always a ruler under the story-abstract, even if it was an abstract-only story.
Diffstat (limited to 'modules/story.module')
-rw-r--r-- | modules/story.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/story.module b/modules/story.module index dfc5344c7..939edd94d 100644 --- a/modules/story.module +++ b/modules/story.module @@ -31,7 +31,7 @@ function story_help() { function story_view($node, $main = 0) { global $theme; - $node->body = ($main ? $node->abstract : "$node->abstract<HR>$node->body"); + $node->body = ((!$main) && ($node->body)) ? "$node->abstract<HR>$node->body" : $node->abstract; $theme->node($node, $main); } |