This commit is contained in:
Igor Barkov (iwork) 2020-07-21 15:10:41 +03:00
parent 4654acad3b
commit 72b4b73405
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ SQL;
$dressed_item[$row['dressed_slot']] = $row;
$this->dressedItem[$row['dressed_slot']] = $row;
}
//return $this->dressedItem;
return $this->dressedItem;
}
protected function getBonuses()

View File

@ -75,7 +75,7 @@ class User
//https://jsfiddle.net/ngx0yvhc
$di = new DressedItems($this->id);
$dressedItems = $di->getItemsInSlots();
echo var_dump($dressedItems);
echo print_r($dressedItems);
for ($i = 1; $i <= 12; $i++) {
echo sprintf('<div class="slot-%s">', $i);
if (isset($di->$dressedItems[$i])) {