diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-06-26 09:53:42 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-06-26 09:53:42 +0200 |
commit | b373ac82e4ad073eadf6ca5489a07b89ef7c6b07 (patch) | |
tree | 1d1432dd4be1378b9d6cf5f5a17518d096fe0710 | |
parent | 6ff6bedea4f1aae9ded9b6e3b7363ee79b2f4fed (diff) |
Don't query cache if static group_filter list is used
-rw-r--r-- | program/lib/Roundcube/rcube_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |