summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index f22a775c0..8a32f389d 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -519,8 +519,8 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) {
$output .= $node->body;
}
- if ($links = link_node($node, $teaser)) {
- $output .= '<div class="links">'. theme('links', $links) .'</div>';
+ if ($node->links) {
+ $output .= '<div class="links">'. theme('links', $node->links) .'</div>';
}
return $output;