X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FEvent.php;h=6f8ed123c17396bc4fd6e45f8405e13e33018967;hb=d53f46b9583737668a3314a22d1eeacb00a47db2;hp=145632fdfcefb8d34e0c3fbc22bb27b4aa2f2939;hpb=0efd3dedeb794ba2129197ad59848bf54b42ff11;p=friendica.git diff --git a/src/Model/Event.php b/src/Model/Event.php index 145632fdfc..6f8ed123c1 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -617,10 +617,8 @@ class Event } $author_link = $event['author-link']; - $plink = $event['plink']; $event['author-link'] = Contact::magicLink($author_link); - $event['plink'] = Contact::magicLink($author_link, $plink); $html = self::getHTML($event); $event['summary'] = BBCode::convert(Strings::escapeHtml($event['summary'])); @@ -640,7 +638,7 @@ class Event 'is_first' => $is_first, 'item' => $event, 'html' => $html, - 'plink' => [$event['plink'], DI::l10n()->t('link to source'), '', ''], + 'plink' => Item::getPlink($event), ]; }