show item type test
This commit is contained in:
parent
6c62b2f899
commit
4a9f007f19
@ -11,7 +11,12 @@ class InventoryItem extends Item
|
|||||||
|
|
||||||
public function printImage()
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user