This commit is contained in:
Igor Barkov (iwork)
2020-07-22 17:04:15 +03:00
parent f0bf7069de
commit 35031f1296
5 changed files with 135 additions and 135 deletions
+1 -1
View File
@@ -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>";