From ca7b249bb231027cde7b72c5396daafbb8ecbb52 Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 30 Sep 2020 14:02:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B8=20?= =?UTF-8?q?=D0=B2=D1=8B=D0=BD=D0=B5=D1=81=D0=B5=D0=BD=D1=8B=20=D0=B2=20con?= =?UTF-8?q?fig.php;=20Cannot=20use=20object=20of=20type=20User=20as=20arra?= =?UTF-8?q?y.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inf.php b/inf.php index c17fe9d..0ca7729 100644 --- a/inf.php +++ b/inf.php @@ -7,15 +7,15 @@ $userInfo = new UserInfo($login); $presentsModel = new PresentsModel($userInfo->id); $presentsList = $presentsModel->getAllPresents(); $userInfo->watcher_id = $userInfo->id ?? null; +Template::header('Информация о'.$userInfo->login); if (empty($userInfo->id)): ?> - Template::header('Ошибка'); Ошибка: персонаж не найден...

←назад

login); + try { $userInfo->showUserInfo();