diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-11-10 17:41:15 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-11-10 17:41:15 +0000 |
commit | 211d65b94f3eb207f526e8b5973785022334829b (patch) | |
tree | e2160301b00eecc04af614784e12529413e5fc5d /modules/node/node.module | |
parent | cc7a6b50175bc9742868731a1ada2e9cb8017489 (diff) | |
download | brdo-211d65b94f3eb207f526e8b5973785022334829b.tar.gz brdo-211d65b94f3eb207f526e8b5973785022334829b.tar.bz2 |
- Fixing read more link showing when teaser is empty.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 38718cb52..01098eb57 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -395,7 +395,7 @@ function node_link($type, $node = 0, $main = 0) { $links = $node->links; } - if ($main == 1 && $node->teaser != $node->body) { + if ($main == 1 && $node->teaser && $node->teaser != $node->body) { $links[] = l(t("read more"), array("id" => $node->nid), "node", "", array("title" => t("Read the rest of this posting."))); } |