From 5b4cf16a61e5fe1bef0637627fe7255126928ed7 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 4 Jul 2020 19:23:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D0=B0=D1=80=D1=82=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BE=D1=81=D0=B0=20showinf=5Fpers();=20?= =?UTF-8?q?=D0=B2=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=20(fuck!=5F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index 8a1d2e9..620547e 100644 --- a/classes/User.php +++ b/classes/User.php @@ -45,7 +45,7 @@ class User public function showUserInfo() { $dressed_items_array = []; - $dressed_items = db::c()->query('SELECT * FROM inventory WHERE owner_id = ?i AND dressed_slot > 0', $this->id)->fetch_object_array(); + $dressed_items = db::c()->query('SELECT * FROM inventory WHERE owner_id = ?i AND dressed_slot > 0', $this->id)->fetch_object(); foreach ($dressed_items as $key=>$value) { $dressed_items_array[$dressed_items['dressed_slot']][$key] = $value; $dressed_items_object[$dressed_items['dressed_slot']]->$key = $value;