diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 16:47:11 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 16:47:11 +0000 |
commit | 99a054f50cbb64b5bc82e10d04d29af33081d9a0 (patch) | |
tree | 34ad79fc97a7b971cf018772c58bc49d38b04170 /mod/logbrowser/views | |
parent | f93ce10e56f335cfe1678ea93ca971f77eb839e1 (diff) | |
download | elgg-99a054f50cbb64b5bc82e10d04d29af33081d9a0.tar.gz elgg-99a054f50cbb64b5bc82e10d04d29af33081d9a0.tar.bz2 |
Handle anonymous events.
git-svn-id: https://code.elgg.org/elgg/trunk@1580 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/logbrowser/views')
-rw-r--r-- | mod/logbrowser/views/default/logbrowser/listing.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/logbrowser/views/default/logbrowser/listing.php b/mod/logbrowser/views/default/logbrowser/listing.php index 1c8de10e6..3ce6e2c43 100644 --- a/mod/logbrowser/views/default/logbrowser/listing.php +++ b/mod/logbrowser/views/default/logbrowser/listing.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 |