diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php
index 2bd68d1..67ae1ea 100644
--- a/src/app/frontend/views/partial/item_group.php
+++ b/src/app/frontend/views/partial/item_group.php
@@ -35,7 +35,7 @@
= $t->_("price_from") ?>
0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) {
echo ''.$i['price'].' грн
';
- echo ''.round($i['price']*(1-$discount/100), 1).' грн';
+ echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн';
}
else {
echo ''.$i['price'].' грн';
--
libgit2 0.21.4