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