Compare commits
2 Commits
54257ff9a6
...
04d1f57a94
Author | SHA1 | Date | |
---|---|---|---|
04d1f57a94 | |||
|
64d410157f |
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