Compare commits

..

No commits in common. "04d1f57a945e75b89effe244f967fade022d4eaf" and "54257ff9a619c3b5be1b5bf31c97dfe586a2f0b1" have entirely different histories.

View File

@ -5,7 +5,7 @@ $login = urldecode($_SERVER['QUERY_STRING']) ?? '';
$userInfo = new UserInfo($login);
$presentsModel = new PresentsModel($userInfo->id);
$presentsList = $presentsModel->getAllPresents();
$userInfo->watcher_id = $_SESSION['uid'] ?? null;
$userInfo->watcher_id = $userInfo->id ?? null;
Template::header('Информация о ' . $userInfo->login);
if (!$userInfo->id) {
echo sprintf('Ошибка: персонаж <em>%s</em> не найден...<p><a style="color: #99f;" href="javascript:window.history.go(-1);">←назад</a></p>', $login);