diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index c60d4e63fb..fcbed923b5 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -59,7 +59,9 @@ $this->app_name = $app_name; $this->db = clone($GLOBALS['egw']->db); $this->db->set_app('phpgwapi'); - $this->grants = $GLOBALS['egw']->acl->get_grants($app_name); + if($app_name != 'addressbook' && $GLOBALS['egw_info']['server']['account_repository'] != 'ldap') { + $this->grants = $GLOBALS['egw']->acl->get_grants($app_name); + } } /**