summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-10-06 10:03:14 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-10-06 10:03:14 +0000
commit9c0fd0149c38ec84a596f7b06205edff1e1e695d (patch)
tree5f1d54fb044e0ba0148c2ad8d525e6bc58ee7da4
parent9632b0b00f1da66805a15f895df0629f196aadf7 (diff)
downloadbrdo-9c0fd0149c38ec84a596f7b06205edff1e1e695d.tar.gz
brdo-9c0fd0149c38ec84a596f7b06205edff1e1e695d.tar.bz2
- Fixed calling links() error if a node doesn't have any terms defined.
-rw-r--r--themes/marvin/marvin.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index 6f80c1b62..2edf9c7a6 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -64,7 +64,7 @@
print "<table cellpadding=\"0\" cellspacing=\"0\" style=\"border 0px; width: 100%;\">\n";
print " <tr><td colspan=\"2\"><img src=\"$this->path/images/drop.gif\" alt=\"\" title=\"\" /> &nbsp; <b>$node->title</b></td></tr>\n";
print " <tr style=\"vertical-align: bottom;\"><td colspan=\"2\" style=\"background-color: #000000; width: 100%;\"><img src=\"$this->path/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" title=\"\" /></td></tr>\n";
- print " <tr><td><div style=\"color: #7c7c7c;\"><small>". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))); ?><?php print "</small></div></td><td style=\"text-align: right; vertical-align: top;\"><small>". $this->links($terms) ."</small></td></tr>\n";
+ print " <tr><td><div style=\"color: #7c7c7c;\"><small>". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))); ?><?php print "</small></div></td><td style=\"text-align: right; vertical-align: top;\"><small>". ($terms ? $this->links($terms) : "") ."</small></td></tr>\n";
print " <tr><td colspan=\"2\">&nbsp;</td></tr>\n";
if ($main && $node->teaser) {