mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Use MagicLinkbyId when possible
This commit is contained in:
parent
8a34895a23
commit
723b5ae803
5 changed files with 13 additions and 12 deletions
|
@ -868,7 +868,7 @@ class Event extends BaseObject
|
|||
$location = self::locationToArray($item['event-location']);
|
||||
|
||||
// Construct the profile link (magic-auth).
|
||||
$profile_link = Contact::magicLink($item['author-link']);
|
||||
$profile_link = Contact::magicLinkById($item['author-id']);
|
||||
|
||||
$tpl = get_markup_template('event_stream_item.tpl');
|
||||
$return = replace_macros($tpl, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue