Commit 5ed266401006eba0dfbe78151279fdbf84d442fc
1 parent
e0dcb7a3
prices
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/PageController.php
@@ -136,7 +136,7 @@ | @@ -136,7 +136,7 @@ | ||
136 | $active_sales[$k]['seconds_left'] = $timestamp_left - $now; | 136 | $active_sales[$k]['seconds_left'] = $timestamp_left - $now; |
137 | } | 137 | } |
138 | 138 | ||
139 | - $discount = $this->models->getDiscount()->getOneData(4); | 139 | + $discount = $this->models->getDiscount()->getActiveData(); |
140 | 140 | ||
141 | $discount = $discount[0]['discount']; | 141 | $discount = $discount[0]['discount']; |
142 | 142 |