From 21457ab0a1eaf0a2ff77e154984cba75e944189c Mon Sep 17 00:00:00 2001 From: "Igor Barkov [iwork]" Date: Mon, 14 Jan 2019 18:44:12 +0200 Subject: [PATCH] make class greater --- classes/ShopItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/ShopItem.php b/classes/ShopItem.php index 59eefa0..ab9746c 100644 --- a/classes/ShopItem.php +++ b/classes/ShopItem.php @@ -22,7 +22,7 @@ class ShopItem extends Item */ public function printControls() { - $btnPrice = "Купить за {intval($this->cost)} кр."; + $btnPrice = "Купить за " . intval($this->cost) . " кр."; $btnLink = "/shop.php?buy={$this->id}&rnd=".mt_rand(); echo <<