From b373ac82e4ad073eadf6ca5489a07b89ef7c6b07 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 26 Jun 2013 09:53:42 +0200 Subject: Don't query cache if static group_filter list is used --- program/lib/Roundcube/rcube_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_ldap.php') diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php index 323dac3ce..ff4467627 100644 --- a/program/lib/Roundcube/rcube_ldap.php +++ b/program/lib/Roundcube/rcube_ldap.php @@ -1532,7 +1532,7 @@ class rcube_ldap extends rcube_addressbook return array(); // use cached list for searching - if (!$this->cache || ($group_cache = $this->cache->get('groups')) === null) { + if (!$this->cache || !empty($this->prop['group_filters']) || ($group_cache = $this->cache->get('groups')) === null) { $group_cache = $this->_fetch_groups(); } -- cgit v1.2.3