'status' => $f['status'],
'create_time' => $f['create_time'],
'modify_time' => $f['modify_time'],
- 'lat' => ($this->config['settings']['memb_info_location'] && isset($v['lat']) ? $v['lat'] : ''),
- 'lon' => ($this->config['settings']['memb_info_location'] && isset($v['lon']) ? $v['lon'] : '')
+ 'lat' => $f['lat'],
+ 'lon' => $f['lon']
);
if ($forMapItems) {
$this->fields = array_merge($this->fields, array(
'addr1' => $f['addr1'],
'addr2' => $f['addr2'],
- 'city' => ($this->config['settings']['memb_info_location'] && isset($v['city']) ? $v['city'] : ''),
+ 'city' => $f['city'],
'state' => $f['state'],
'country' => $f['country'],
'zip' => $f['zip'],
- 'phone' => ($this->config['settings']['memb_info_contact'] && isset($v['phone']) ? $v['phone'] : ''),
- 'toll_free' => ($this->config['settings']['memb_info_contact'] && isset($v['toll_free']) ? $v['toll_free'] : ''),
+ 'phone' => $f['phone'],
+ 'toll_free' => $f['toll_free'],
'email' => $f['email'],
'url' => $f['url'],
- 'region' => ($this->config['settings']['memb_info_location'] && isset($v['region']) ? $v['region'] : ''),
- 'county' => ($this->config['settings']['memb_info_location'] && isset($v['country']) ? $v['country'] : ''),
+ 'region' => $f['region'],
+ 'country' => $f['country'],
'cc_type' => $f['cc_type'],
'logo' => $f['logo'],
'descr' => $f['descr'],