show item type test

This commit is contained in:
lopar 2019-01-12 00:30:12 +02:00
parent 6c62b2f899
commit 4a9f007f19
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,12 @@ class InventoryItem extends Item
public function printImage()
{
parent::printImage(); // TODO: Change the autogenerated stub
if (!in_array($this->type,[12,50,200])) {
echo "<a href=//admin/admin.php>";
parent::printImage();
echo "</a>";
}
else parent::printImage();
}
/**