diff --git a/src/app/frontend/views/page/changeWithSize.php b/src/app/frontend/views/page/changeWithSize.php index 5a155c9..5514b9a 100644 --- a/src/app/frontend/views/page/changeWithSize.php +++ b/src/app/frontend/views/page/changeWithSize.php @@ -6,7 +6,7 @@ if(isset($special_user)) { } else { $data['price'] = $item['price2']; } -$data['price'] = $data['price']*(1-$discount['discount']/100); +$data['price'] = $data['price']*(1-$this->discount/100); $data['price'] = number_format($data['price'], 2, '.', ' '); $data['html'] = '
-- libgit2 0.21.4