X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcal.php;h=f3ff80cf99b3239d4cd8d5689f548a63c3acbdf1;hb=faac5b71ce210086826e395283233d1d82892398;hp=2992f29e5c9e09cb004cff425dd59c773178a3e1;hpb=934f69a4260c7cd072612839f7090159edb9bc34;p=friendica.git diff --git a/mod/cal.php b/mod/cal.php index 2992f29e5c..f3ff80cf99 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -1,6 +1,6 @@ profile = Profile::getByNickname($nick, $a->profile_uid); + $a->profile = Profile::getByNickname($nick); if (empty($a->profile)) { throw new HTTPException\NotFoundException(DI::l10n()->t('User not found.')); } @@ -84,7 +84,7 @@ function cal_init(App $a) '$about' => BBCode::convert($a->profile['about']), ]); - $cal_widget = Widget\CalendarExport::getHTML(); + $cal_widget = Widget\CalendarExport::getHTML($user['uid']); if (empty(DI::page()['aside'])) { DI::page()['aside'] = '';