Don't query cache if static group_filter list is used

pull/73/merge
Thomas Bruederli 12 years ago
parent 6ff6bedea4
commit b373ac82e4

@ -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();
}

Loading…
Cancel
Save