From 1c179bcdf0fbc76846c8d3236bdbf000c9a476d1 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 14 May 2018 16:46:15 -0600 Subject: [PATCH] Add addressbook translation (for "group") --- addressbook/inc/class.addressbook_zpush.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/inc/class.addressbook_zpush.inc.php b/addressbook/inc/class.addressbook_zpush.inc.php index 110c239b94..4e2f105843 100644 --- a/addressbook/inc/class.addressbook_zpush.inc.php +++ b/addressbook/inc/class.addressbook_zpush.inc.php @@ -842,6 +842,7 @@ class addressbook_zpush implements activesync_plugin_write, activesync_plugin_se if (!isset($hook_data['setup']) && in_array($hook_data['type'], array('user', 'group'))) { $user = $hook_data['account_id']; + Api\Translation::add_app('addressbook'); $addressbook_bo = new Api\Contacts(); $addressbooks = $addressbook_bo->get_addressbooks(Acl::READ, null, $user); if ($user > 0)