diff --git a/addressbook/inc/class.addressbook_zpush.inc.php b/addressbook/inc/class.addressbook_zpush.inc.php index 87b6296f84..ec2b146191 100644 --- a/addressbook/inc/class.addressbook_zpush.inc.php +++ b/addressbook/inc/class.addressbook_zpush.inc.php @@ -140,7 +140,7 @@ class addressbook_zpush implements activesync_plugin_write, activesync_plugin_se // error_log(print_r($this->addressbook->get_addressbooks(EGW_ACL_READ),true)); $pref = $GLOBALS['egw_info']['user']['preferences']['activesync']['addressbook-abs']; - $pref_abs = (string)$pref_abs !== '' ? explode(',',$pref) : array(); + $pref_abs = (string)$pref !== '' ? explode(',',$pref) : array(); foreach ($this->addressbook->get_addressbooks() as $account_id => $label) {