Commit c8c20603497433e3d92686fd87afc827f0d346ab

Authored by Alex Savenko
1 parent a1fb2354

vip prices tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/partial/item_group.php
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 <?= $t->_("price_from") ?> 35 <?= $t->_("price_from") ?>
36 <?php 36 <?php
37 //vip 37 //vip
38 - if($users_group_id == '37') { 38 + if(isset($users_group_id) && $users_group_id == '37') {
39 $i['price'] = round($i['price']*0.95, 1); 39 $i['price'] = round($i['price']*0.95, 1);
40 } 40 }
41 // скидка 41 // скидка