X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticelistitem.php;h=5468310ea3d5c70e3487cc13a95fa1488571ee70;hb=8c9efff1ace2d5e466691abf038f096eb5dd5f51;hp=1a629cf37289bb9b0047eb7d21cc3678b55c7134;hpb=500ff6be1a4e7a05e28e02265e458f27a6d59003;p=quix0rs-gnu-social.git diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 1a629cf372..5468310ea3 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -251,9 +251,9 @@ class NoticeListItem extends Widget function showAuthor() { - $attrs = array('href' => $this->profile->profileurl, + $attrs = array('href' => $this->profile->getUrl(), 'class' => 'h-card', - 'title' => $this->profile->getNickname()); + 'title' => $this->profile->getHtmlTitle()); if(empty($this->repeat)) { $attrs['class'] .= ' p-author'; } if (Event::handle('StartShowNoticeItemAuthor', array($this->profile, $this->out, &$attrs))) { @@ -312,7 +312,7 @@ class NoticeListItem extends Widget $profileurl = common_local_url('userbyid', array('id' => $attn->getID())); } $this->pa[] = array('href' => $profileurl, - 'title' => $attn->getNickname(), + 'title' => $attn->getHtmlTitle(), 'class' => "addressee {$class} p-name u-url", 'text' => $attn->getStreamName()); }