From ddff98e083d9f37eb886cb8b266632fb3a9a8fa0 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 29 Jul 2008 16:48:18 +0000 Subject: And in gallery view git-svn-id: https://code.elgg.org/elgg/trunk@1581 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/logbrowser/views/default/logbrowser/gallery.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 .= ""; $info .= " " . elgg_echo($entry->event) . "

"; - $info .= "
" . elgg_echo('by') . " getURL()."\">{$by->name} ".date('r', $entry->time_created )."
"; + $info .= "
"; + if ($by) $info .= elgg_echo('by') . " getURL()."\">{$by->name} "; + $info .= " " .date('r', $entry->time_created )."
"; + echo elgg_view_listing($icon, $info); ?> \ No newline at end of file -- cgit v1.2.3