Fix errors

This commit is contained in:
lopar 2018-06-22 22:34:55 +03:00
parent 30ae0642db
commit 9ae0112ceb
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ if (isset($_GET['set']) OR isset($_POST['set'])){
<?
} else {
$data = db::c()->query('SELECT `id`,`img`,`name` FROM `ashop` WHERE `count` > 0 AND `razdel` = ?i AND `ecost` > 0 ORDER by `ecost` ASC', $_GET['otdel']);
$data = db::c()->query('SELECT `id`,`img`,`name` FROM `ashop` WHERE `count` > 0 AND `razdel` = "?s" AND `ecost` > 0 ORDER by `ecost` ASC', $_GET['otdel']);
while ($row = $data->fetch_assoc()) {
if ($i == 0) {
$i = 1;