class errors

This commit is contained in:
Igor Barkov (iwork) 2020-07-20 17:27:15 +03:00
parent b358d19893
commit ca1294d6d3

View File

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