php error fix

This commit is contained in:
lopar 2019-06-21 20:48:47 +03:00
parent 5180206248
commit 3c6a6948e6

View File

@ -11,7 +11,7 @@ if ($user['battle'] != 0) {
} }
db::c()->query('LOCK TABLES `bots` WRITE, `battle` WRITE, `logs` WRITE, `users` WRITE, `inventory` WRITE, `zayavka` WRITE, `effects` WRITE, `online` WRITE'); db::c()->query('LOCK TABLES `bots` WRITE, `battle` WRITE, `logs` WRITE, `users` WRITE, `inventory` WRITE, `zayavka` WRITE, `effects` WRITE, `online` WRITE');
if ((input::check('do') == "clear") AND $user['admin'] == 1)) { if ((input::check('do') == "clear") AND $user['admin'] == 1) {
db::c()->query('UPDATE `zayavka` SET `coment` = "?s" WHERE `id` = ?i', '<em>Вырезано цензурой!</em>', $_GET['zid']); db::c()->query('UPDATE `zayavka` SET `coment` = "?s" WHERE `id` = ?i', '<em>Вырезано цензурой!</em>', $_GET['zid']);
} }