BC catch.
authorJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 16:39:22 +0000 (18:39 +0200)
committerJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 16:39:22 +0000 (18:39 +0200)
framework/Group/lib/Horde/Group/Ldap.php

index 66a62d7..a8d7c11 100644 (file)
@@ -86,7 +86,7 @@ class Horde_Group_Ldap extends Horde_Group
         }
 
         /* Generate LDAP search filter. */
-        $this->_filter = Horde_Ldap_Filter::build($this->_params['search']);
+        $this->_filter = Horde_Ldap_Filter::build(isset($this->_params['search']) ? $this->_params['search'] : $this->_params);
 
         /* Connect to server. */
         $this->_ldap = new Horde_Ldap($this->_params);