songxingwei 3 tahun lalu
induk
melakukan
f5ef6e42a2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      application/common/model/ElectPool.php

+ 1 - 1
application/common/model/ElectPool.php

@@ -472,7 +472,7 @@ class ElectPool Extends Model
 
         if ($touser['household']){
             $household = explode('-',$touser['household']);
-            if ($household[1]){
+            if (isset($household[1])){
                 $touser['household_city'] = $household[1];
             }else{
                 $touser['household_city'] = '';