return;
}
- $a->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.'));
}
'$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'] = '';