X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcal.php;h=e1cf91aa685dd4cceeca4a36140e860777f00ce1;hb=07ef1edfd6baefa10c22c44a4f85bad3d0034e8b;hp=2992f29e5c9e09cb004cff425dd59c773178a3e1;hpb=a294c19d6e5a1ebd4d34009c9321ec43b155e98a;p=friendica.git diff --git a/mod/cal.php b/mod/cal.php index 2992f29e5c..e1cf91aa68 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -1,6 +1,6 @@ profile = Profile::getByNickname($nick, $a->profile_uid); + $a->profile = User::getOwnerDataByNick($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'] = '';