]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Merge pull request #10024 from annando/block-tags
[friendica.git] / src / Model / Profile.php
index 676cd0b40ca29790d34f6df76c8017b1b2dcf736..bc008914bb4f402348118289e3fd25439a36d073 100644 (file)
@@ -539,7 +539,7 @@ class Profile
 
                                        $today = (((strtotime($rr['start'] . ' +00:00') < $now) && (strtotime($rr['finish'] . ' +00:00') > $now)) ? true : false);
 
-                                       $rr['link'] = Contact::magicLink($rr['url']);
+                                       $rr['link'] = Contact::magicLinkById($rr['cid']);
                                        $rr['title'] = $rr['name'];
                                        $rr['date'] = DI::l10n()->getDay(DateTimeFormat::convert($rr['start'], $a->timezone, 'UTC', $rr['adjust'] ? $bd_format : $bd_short)) . (($today) ? ' ' . DI::l10n()->t('[today]') : '');
                                        $rr['startime'] = null;