From f06f5bffe1dcf072baeec8ba1c522c0b6496cd95 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 29 Aug 2020 16:33:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BB=D1=8C=D1=86=D0=B0=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BA=D0=B0=D0=BB=D0=B8=D1=81=D1=8C=20=D0=B2=20?= =?UTF-8?q?=D0=BE=D0=B4=D0=BD=D0=BE=D0=BC=20=D1=81=D0=BB=D0=BE=D1=82=D0=B5?= =?UTF-8?q?=20=D0=BF=D0=BE=D1=82=D0=BE=D0=BC=D1=83=20=D1=87=D1=82=D0=BE=20?= =?UTF-8?q?=D1=83=20=D0=BD=D0=B8=D1=85=20=D0=BE=D0=B4=D0=B8=D0=BD=20=D1=82?= =?UTF-8?q?=D0=B8=D0=BF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.php b/main.php index c452854..0d71c34 100644 --- a/main.php +++ b/main.php @@ -315,7 +315,7 @@ function dressitem($id) $itemInSlotRow = db::c()->query('SELECT dressed_slot FROM inventory WHERE owner_id = ?i AND dressed_slot > 0 AND item_type = ?i', $_SESSION['uid'], $selectedItem->item_type); $itemInSlotQuantity = $itemInSlotRow->getNumRows(); if ($itemInSlotQuantity) { - $itemInSlot = $itemInSlotRow->fetch_row(); + $itemInSlot = $itemInSlotRow->fetch_row_array(); print_r($itemInSlot).'
'; } if (in_array($selectedItem->item_type,[HELMET,ARMOR,LEGS,BOOTS,GLOVES,WEAPON,SHIELD,BELT,AMULET])) {