From 5bff354c84261eb79e3c436dd873e58f21203663 Mon Sep 17 00:00:00 2001 From: lopar Date: Mon, 14 Jan 2019 22:45:36 +0200 Subject: [PATCH] another selling items final --- shop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop.php b/shop.php index 11a06cc..7c91508 100644 --- a/shop.php +++ b/shop.php @@ -100,7 +100,7 @@ FROM `shop` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `count` > 0 AND `c `magic`.`needcharge` AS `magic_needcharge`, `magic`.`img` AS `magic_img` -FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `dressed` = 0 AND `setsale` = 0 AND `cost` > 0 AND `present` = "?s" AND `tradesale` = 0 AND `podzem` = 0 AND `goden` = 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid'], null); +FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `dressed` = 0 AND `setsale` = 0 AND `cost` > 0 AND `present` = "?s" AND `tradesale` = 0 AND `podzem` = 0 AND `goden` = 0 AND `owner` = ?i ORDER BY `update` DESC', $_SESSION['uid'], ''); $iteminfo = []; while ($row = $inventoryItems->fetch_assoc()) {