mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Always remove country code
This commit is contained in:
parent
22b4e56958
commit
aa7fc0f9f9
@ -109,11 +109,9 @@ function org_fileds_to_update($config)
|
||||
}
|
||||
|
||||
// Remove country codes as an option, it will be added by BO constructor
|
||||
if(in_array('adr_one_countrycode', $supported_fields))
|
||||
{
|
||||
unset($fields['adr_one_countrycode']);
|
||||
unset($fields['adr_two_countrycode']);
|
||||
}
|
||||
unset($fields['adr_one_countrycode']);
|
||||
unset($fields['adr_two_countrycode']);
|
||||
|
||||
return html::checkbox_multiselect('newsettings[org_fileds_to_update]',
|
||||
$config['org_fileds_to_update'] ? $config['org_fileds_to_update'] : $bocontacts->org_fields,$fields,true,'',4);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user