From aa3a5dd32b0b04f7f45e374cefcee62224c34b34 Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Fri, 15 Feb 2019 14:39:23 +0200 Subject: [PATCH] unsale to class --- classes/ShopItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/ShopItem.php b/classes/ShopItem.php index 7aeafcf..faf32fb 100644 --- a/classes/ShopItem.php +++ b/classes/ShopItem.php @@ -49,11 +49,11 @@ class ShopItem extends Item break; case 'marketback': $btnValue = "Снять товар с продажи"; - $btnLink = "/?back={$this->id}&rnd=" . mt_rand(); + $btnLink = "?back={$this->id}&rnd=" . mt_rand(); break; case 'marketshowmore': $btnValue = "Развернуть"; - $btnLink = "/?max={$this->name}&rnd=" . mt_rand(); + $btnLink = "?max={$this->name}&rnd=" . mt_rand(); break; }