Issue 8836: Point the event to the local post

This commit is contained in:
Michael 2020-07-08 20:42:28 +00:00
parent 5c0e079ca6
commit 77e272e8ed
3 changed files with 3 additions and 5 deletions

View file

@ -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),
];
}