make class greater

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 16:43:09 +02:00
parent d969a0e70f
commit 8b35012f8e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ NAME;
public function printImage()
{
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();
echo "</a>";
}