mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
one server-config missed in r36329: arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
This commit is contained in:
parent
8b49d88788
commit
10325b93c8
@ -283,7 +283,8 @@ class addressbook_bo extends addressbook_so
|
||||
'adr_two_countryname' => lang('country').' ('.lang('business').')',
|
||||
);
|
||||
//_debug_array($this->contact_fields);
|
||||
$this->own_account_acl = unserialize($GLOBALS['egw_info']['server']['own_account_acl']);
|
||||
$this->own_account_acl = $GLOBALS['egw_info']['server']['own_account_acl'];
|
||||
if (!is_array($this->own_account_acl)) $this->own_account_acl = unserialize($this->own_account_acl);
|
||||
// we have only one acl (n_fn) for the whole name, as not all backends store every part in an own field
|
||||
if ($this->own_account_acl && in_array('n_fn',$this->own_account_acl))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user