make class greater

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 16:43:09 +02:00
parent d969a0e70f
commit 8b35012f8e

View File

@ -26,7 +26,7 @@ NAME;
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=//{$_SERVER['SERVER_NAME']}/main.php?edit=1&dress={$this->item_id} title='Надеть'>"; echo "<a href=//{$_SERVER['SERVER_NAME']}/main.php?edit=1&dress={$this->id} title='Надеть'>";
parent::printImage(); parent::printImage();
echo "</a>"; echo "</a>";
} }