Fix (#7) #13
2
inf.php
2
inf.php
@ -5,7 +5,7 @@ $login = urldecode($_SERVER['QUERY_STRING']) ?? '';
|
||||
$userInfo = new UserInfo($login);
|
||||
$presentsModel = new PresentsModel($userInfo->id);
|
||||
$presentsList = $presentsModel->getAllPresents();
|
||||
$userInfo->watcher_id = $userInfo->id ?? null;
|
||||
$userInfo->watcher_id = $_SESSION['uid'] ?? 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);
|
||||
|
Loading…
Reference in New Issue
Block a user