Лишняя запятая. ))

This commit is contained in:
Igor Barkov [iwork] 2018-03-06 15:10:04 +02:00
parent ddb90fcdaa
commit 807ee64890

View File

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