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 = 'Ой! Такого пользователя нет!';