one server-config missed in r36329: arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized

This commit is contained in:
Ralf Becker 2012-11-15 22:13:11 +00:00
parent 64f31a0fdc
commit 0e41e83520

View File

@ -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))
{