From dcf49be56cc613ad426d99a6d237ffea1e7a4f56 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 7 Nov 2021 10:54:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/PaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/PaymentService.php b/app/service/PaymentService.php index 46540d6bb..c086fcf87 100755 --- a/app/service/PaymentService.php +++ b/app/service/PaymentService.php @@ -1046,7 +1046,7 @@ php; 'plugins_data' => $data, ]; $res = StoreService::PluginsUpgradeInfo($request_params); - if(!empty($res['data'])) + if(!empty($res['data']) && is_array($res['data'])) { $res['data'] = array_column($res['data'], null, 'plugins'); } -- GitLab