Лишняя запятая. ))
This commit is contained in:
parent
ddb90fcdaa
commit
807ee64890
@ -12,7 +12,7 @@ $battle = filter_input(INPUT_COOKIE, 'battle');
|
|||||||
$error = "";
|
$error = "";
|
||||||
|
|
||||||
if ($username && $password) {
|
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']) {
|
if (!$data['id']) {
|
||||||
$error = 'Ой! Такого пользователя нет!';
|
$error = 'Ой! Такого пользователя нет!';
|
||||||
|
Loading…
Reference in New Issue
Block a user