don't show reply for anon user
This commit is contained in:
parent
e37e9c2084
commit
d86622da33
@ -440,6 +440,7 @@ class NoticeListItem extends Widget
|
||||
|
||||
function showReplyLink()
|
||||
{
|
||||
if (common_logged_in()) {
|
||||
$reply_url = common_local_url('newnotice',
|
||||
array('replyto' => $this->profile->nickname));
|
||||
|
||||
@ -454,6 +455,7 @@ class NoticeListItem extends Widget
|
||||
$this->out->elementEnd('dd');
|
||||
$this->out->elementEnd('dl');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* if the user is the author, let them delete the notice
|
||||
|
Loading…
Reference in New Issue
Block a user