|
@@ -169,11 +169,15 @@ class ConditionsController extends BaseController
|
|
$info['content'] = $info['content'] ?? '';
|
|
$info['content'] = $info['content'] ?? '';
|
|
if (!empty($info['addresss'])) {
|
|
if (!empty($info['addresss'])) {
|
|
$address_name = explode(',',$info['addresss']);
|
|
$address_name = explode(',',$info['addresss']);
|
|
- $info['addresss'] = $address_name[0].$address_name[1];
|
|
|
|
|
|
+ $info['addresss'] = '';
|
|
|
|
+ $info['addresss'] .= $address_name[0] ?? '';
|
|
|
|
+ $info['addresss'] .= $address_name[1] ?? '';
|
|
}
|
|
}
|
|
if (!empty($info['registration'])) {
|
|
if (!empty($info['registration'])) {
|
|
$registration_name = explode(',',$info['registration']);
|
|
$registration_name = explode(',',$info['registration']);
|
|
- $info['registration'] = $registration_name[0].$registration_name[1];
|
|
|
|
|
|
+ $info['registration'] = '';
|
|
|
|
+ $info['registration'] .= $registration_name[0] ?? '';
|
|
|
|
+ $info['registration'] .= $registration_name[1] ?? '';
|
|
}
|
|
}
|
|
$settings = $this->getSettings(2);
|
|
$settings = $this->getSettings(2);
|
|
// 获取用户的名称
|
|
// 获取用户的名称
|