From dbc01aa09da3c3a891089295d6be2638ec7ac074 Mon Sep 17 00:00:00 2001 From: lopar Date: Mon, 14 Jan 2019 22:47:00 +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 7c91508..484afc0 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'], ''); +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', null, $_SESSION['uid']); $iteminfo = []; while ($row = $inventoryItems->fetch_assoc()) {