summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);