summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-06 17:51:50 +0000
committertill <till@php.net>2008-02-06 17:51:50 +0000
commit7e344087de3f151dda7618e950b43c23664776a3 (patch)
treeda82e734153cfe49911ba66fbebec290263056a9
parent58dd6ef88e40a00c07d62f9365fd8c380db4fbc1 (diff)
* committing patch from #1484593 (re-open if this breaks anything)
-rw-r--r--program/include/rcube_ldap.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcube_ldap.inc b/program/include/rcube_ldap.inc
index 3de018426..608365269 100644
--- a/program/include/rcube_ldap.inc
+++ b/program/include/rcube_ldap.inc
@@ -1,5 +1,4 @@
<?php
-
/*
+-----------------------------------------------------------------------+
| program/include/rcube_ldap.inc |
@@ -288,7 +287,7 @@ class rcube_ldap
// add general filter to query
if (!empty($this->prop['filter']))
- $filter = '(&'.$this->prop['filter'] . $filter . ')';
+ $filter = '(&('.$this->prop['filter'] .')' . $filter . ')';
// set filter string and execute search
$this->set_search_set($filter);