From 807ee64890b8a76811f9556604e18fa32557b4eb Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Tue, 6 Mar 2018 15:10:04 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B8=D1=88=D0=BD=D1=8F=D1=8F=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=8F=D1=82=D0=B0=D1=8F.=20))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enter.php b/enter.php index 90aba51..517079d 100644 --- a/enter.php +++ b/enter.php @@ -12,7 +12,7 @@ $battle = filter_input(INPUT_COOKIE, 'battle'); $error = ""; if ($username && $password) { - $data = db::c()->query('SELECT `id`, `login` ,`pass`, `room`, `block` FROM `users` WHERE `login` = "?s"', $username,)->fetch_assoc(); + $data = db::c()->query('SELECT `id`, `login` ,`pass`, `room`, `block` FROM `users` WHERE `login` = "?s"', $username)->fetch_assoc(); if (!$data['id']) { $error = 'Ой! Такого пользователя нет!';