From 859c4ecc5623c904502a3b4893757281ab31dc23 Mon Sep 17 00:00:00 2001 From: yangduo Date: Tue, 14 Jan 2025 15:14:05 +0800 Subject: [PATCH] fix --- webapp/controller/RechargeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {