From 126c7755db634fafe9418881ea4a6c21b77220cb Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 14 Jan 2020 20:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E5=A1=AB=E5=86=99=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=BB=98=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/SafeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 5a26463f4..930fd5843 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -325,7 +325,7 @@ class SafeController extends BaseController{ $promoteInfo['personalstatus'] = true; $promoteInfo['complanystatus'] = false; } - if(!empty(json_decode($address))) { + if(!empty(json_decode($address)) && count(json_decode($address)) >= 2) { $addressArr = explode(',', json_decode($address)[0]); $promoteInfo['addressdata'] = $addressArr; $this->assign('addr',json_decode($address)[1]);