From 4df751bb7cf701f9c69d67b7414e40a7bd264fc4 Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Mon, 14 Jan 2019 18:22:36 +0200 Subject: [PATCH] make class greater:modificators --- classes/ShopItem.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/ShopItem.php b/classes/ShopItem.php index bee6b2d..9732611 100644 --- a/classes/ShopItem.php +++ b/classes/ShopItem.php @@ -12,8 +12,6 @@ class ShopItem extends Item public function printInfo() { parent::printBaseInfo(); - echo "
Цена" . $this->wrap($this->cost) . " пымпочек"; - if ($this->count > 0) echo "
(Осталось: {$this->count} штук)"; parent::printRequirements(); parent::printBonuses(); parent::printMagic(); @@ -29,5 +27,6 @@ class ShopItem extends Item

BTN; + if ($this->count > 0) echo "
(Осталось: {$this->count} штук)"; } } \ No newline at end of file