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 79fdeb353..60bf86cd0 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -69,8 +69,8 @@ class BaseTheme {
else {
$output .= check_output($node->body, 1);
}
- if ($main) {
- $output .= "<br />[ ". $this->links(link_node($node)) ." ]";
+ if ($links = link_node($node, $main)) {
+ $output .= "<br />[ ". $this->links($links) ." ]";
}
$output .= "<hr />";