aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 16:48:18 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 16:48:18 +0000
commitddff98e083d9f37eb886cb8b266632fb3a9a8fa0 (patch)
tree80f4a307a82a87b9956463a1961a0151a1a9d065
parent99a054f50cbb64b5bc82e10d04d29af33081d9a0 (diff)
downloadelgg-ddff98e083d9f37eb886cb8b266632fb3a9a8fa0.tar.gz
elgg-ddff98e083d9f37eb886cb8b266632fb3a9a8fa0.tar.bz2
And in gallery view
git-svn-id: https://code.elgg.org/elgg/trunk@1581 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/logbrowser/views/default/logbrowser/gallery.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/logbrowser/views/default/logbrowser/gallery.php b/mod/logbrowser/views/default/logbrowser/gallery.php
index 1c8de10e6..3ce6e2c43 100644
--- a/mod/logbrowser/views/default/logbrowser/gallery.php
+++ b/mod/logbrowser/views/default/logbrowser/gallery.php
@@ -31,7 +31,10 @@
if ($obj_url) $info .= "</a>";
$info .= " " . elgg_echo($entry->event) . "</b></p>";
- $info .= "<div>" . elgg_echo('by') . " <a href=\"".$by->getURL()."\">{$by->name}</a> ".date('r', $entry->time_created )."</div>";
+ $info .= "<div>";
+ if ($by) $info .= elgg_echo('by') . " <a href=\"".$by->getURL()."\">{$by->name}</a> ";
+ $info .= " " .date('r', $entry->time_created )."</div>";
+
echo elgg_view_listing($icon, $info);
?> \ No newline at end of file