class errors

This commit is contained in:
Igor Barkov (iwork) 2020-07-20 17:31:25 +03:00
parent ca1294d6d3
commit 7fbb2904e0

View File

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