diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-03 15:12:55 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-03 15:12:55 -0500 |
commit | 0356953cf853bf3bc9eda66f88b5ef4718683337 (patch) | |
tree | e23794c60c2d0ca28fc63fcc52cdb8a532fa1719 /lib/noticelist.php | |
parent | 22c806a15a957c300cb047cb42e8f5c49d47afa9 (diff) | |
parent | 0f2c43bd040437b3e40c706d7c3f4ba163e94a71 (diff) |
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into 0.7.x
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 7c88c33cc..3ef6691af 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -203,11 +203,14 @@ class NoticeListItem extends Widget function showNoticeOptions() { - $this->out->elementStart('div', 'notice-options'); - $this->showFaveForm(); - $this->showReplyLink(); - $this->showDeleteLink(); - $this->out->elementEnd('div'); + $user = common_current_user(); + if ($user) { + $this->out->elementStart('div', 'notice-options'); + $this->showFaveForm(); + $this->showReplyLink(); + $this->showDeleteLink(); + $this->out->elementEnd('div'); + } } /** |