show item type test

This commit is contained in:
lopar 2019-01-12 00:38:10 +02:00
parent 4a9f007f19
commit 1f089250a2

View File

@ -12,7 +12,7 @@ class InventoryItem extends Item
public function printImage()
{
if (!in_array($this->type,[12,50,200])) {
echo "<a href=//admin/admin.php>";
echo "<a href={$_SERVER['SERVER_NAME']}/admin/admin.php>";
parent::printImage();
echo "</a>";
}