diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 67bcc64..09dc60e 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -550,7 +550,7 @@ class RechargeController } else { $daily_purchase = array(); if ($rechargerow['daily_purchase'] != null && $rechargerow['daily_purchase'] != '') { - json_decode($rechargerow['daily_purchase'], true); + $daily_purchase = json_decode($rechargerow['daily_purchase'], true); } $found = false; foreach ($daily_purchase as $key => $dailyitem) {