fix typo that prevented the sync of additional addressbooks

This commit is contained in:
Klaus Leithoff 2015-11-24 12:15:50 +00:00
parent dd6df6b077
commit 90b1bcc03c

View File

@ -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)); // error_log(print_r($this->addressbook->get_addressbooks(EGW_ACL_READ),true));
$pref = $GLOBALS['egw_info']['user']['preferences']['activesync']['addressbook-abs']; $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) foreach ($this->addressbook->get_addressbooks() as $account_id => $label)
{ {