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]);