show item type test
This commit is contained in:
@@ -12,7 +12,7 @@ class InventoryItem extends Item
|
|||||||
public function printImage()
|
public function printImage()
|
||||||
{
|
{
|
||||||
if (!in_array($this->type,[12,50,200])) {
|
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();
|
parent::printImage();
|
||||||
echo "</a>";
|
echo "</a>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user