забыли параметр функции
This commit is contained in:
parent
bc7c8ec828
commit
32cccc64cf
@ -79,7 +79,7 @@ class User
|
||||
// }
|
||||
for ($i = 1; $i <= 12; $i++) {
|
||||
echo sprintf('<div class="slot-%s">', $i);
|
||||
if (isset($di->getSlots()[$i])) {
|
||||
if (isset($di->getSlots($this->id)[$i])) {
|
||||
if (!$isBattle && $isMain) {
|
||||
$itemString = '<a href="?edit=1&drop=%s"><img src="/i/sh/%s" class="item-wrap-normal" alt="%s" title="%s"></a>';
|
||||
echo sprintf($itemString, $i, $di->getSlots($this->id)[$i]['image'], $di->getSlots($this->id)[$i]['name'], $di->getSlots($this->id)[$i]['name']);
|
||||
|
Loading…
Reference in New Issue
Block a user