Commit b622305982f04b5a0b608caa3e11c96a0512e9fc

Authored by Alex Savenko
1 parent c5af3874

search fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/controllers/PageController.php
@@ -1402,8 +1402,8 @@ @@ -1402,8 +1402,8 @@
1402 //discount 1402 //discount
1403 $discount = $this->models->getDiscount()->getActiveData(); 1403 $discount = $this->models->getDiscount()->getActiveData();
1404 if (!empty($discount)) { 1404 if (!empty($discount)) {
1405 - $discount = $discount[0];  
1406 $discount = $this->models->getDiscount()->explodeGroupIds($discount); 1405 $discount = $this->models->getDiscount()->explodeGroupIds($discount);
  1406 + $discount = $discount[0];
1407 } else { 1407 } else {
1408 $discount = 0; 1408 $discount = 0;
1409 } 1409 }