Забыл проверки при снятии гравировок.

This commit is contained in:
lopar 2018-12-12 20:30:21 +02:00
parent f03741dd1b
commit f5c0a00451

View File

@ -275,7 +275,7 @@ if (input::post('goto') == 'remont') {
}
if (input::post('goto') == 'gravirovka') {
$gravirovka_query = db::c()->query('SELECT `id`,`name`,`img`,`text` FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `type` = 3 AND `name` NOT LIKE "?S" AND `setsale` = 0 OR `text` <> "?s" AND `owner` = ?i ORDER by `update` DESC', $_SESSION['uid'], '%Букет%', '', $_SESSION['uid']);
$gravirovka_query = db::c()->query('SELECT `id`,`name`,`img`,`text` FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `type` = 3 AND `name` NOT LIKE "?S" AND `setsale` = 0 OR `text` <> "?s" AND `owner` = ?i AND `dressed` = 0 AND `setsale` = 0 ORDER by `update` DESC', $_SESSION['uid'], '%Букет%', '', $_SESSION['uid']);
}
?>