show item type test
This commit is contained in:
parent
1f089250a2
commit
616248aeed
@ -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>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user