???
This commit is contained in:
@@ -22,7 +22,7 @@ class InventoryItem extends Item
|
||||
|
||||
public function printImage()
|
||||
{
|
||||
if (!in_array($this->item_type, [12, 50, 200])) {
|
||||
if (in_array($this->item_type, range(1,12))) {
|
||||
echo "<a href=/main.php?edit=1&dress={$this->item_id} title='Надеть'>";
|
||||
parent::printImage();
|
||||
echo "</a>";
|
||||
|
||||
Reference in New Issue
Block a user