summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module2
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.")));
}