From 4f813d22279213878f313bebddb025c407556c71 Mon Sep 17 00:00:00 2001 From: yangduo Date: Thu, 9 Jan 2025 17:49:46 +0800 Subject: [PATCH] fix --- webapp/controller/RechargeController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index af593cc..e27bfb6 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -519,7 +519,9 @@ class RechargeController $vipinfo = array(); $dailypurchase = array(); if ($rechargerow) { - $firstrecharge = $rechargerow['first_data']; + if ($rechargerow['first_data'] != null) { + $firstrecharge = $rechargerow['first_data']; + } if ($rechargerow['vip_info'] != null && $rechargerow['vip_info'] != '') { $vipinfo = json_encode($rechargerow['vip_info']); }