show item type test

This commit is contained in:
lopar 2019-01-12 00:40:51 +02:00
parent 1f089250a2
commit 616248aeed

View File

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