From 3427883c25efb2b0eb8f0e3a8fa6dac5e7f3275d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 26 Jun 2013 04:08:40 -0400
Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail

---
 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 323dac3..ff44676 100644
--- a/program/lib/Roundcube/rcube_ldap.php
+++ b/program/lib/Roundcube/rcube_ldap.php
@@ -1532,7 +1532,7 @@
             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();
         }
 

--
Gitblit v1.9.1