summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-23 17:15:11 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-01-23 17:15:11 (GMT)
commit7aa962890fe33ed30efbff35baf5160973e7411f (patch)
treedafce48df441ea2fa2ba8808c259803f30c31294 /lib
parent986cdd096a52a97bdac434451a2838ae64af93fa (diff)
downloadNet_LDAP3-7aa962890fe33ed30efbff35baf5160973e7411f.tar.gz
Reset additional search filter after search (Bug #1565)
Diffstat (limited to 'lib')
-rw-r--r--lib/Net/LDAP3.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
index e34a8af..e661fb1 100644
--- a/lib/Net/LDAP3.php
+++ b/lib/Net/LDAP3.php
@@ -1329,6 +1329,8 @@ class Net_LDAP3
$search = $this->search($base_dn, $filter, $scope, $sort, $search);
+ $this->additional_filter = null;
+
if (!$search) {
$this->_debug("Net_LDAP3: Search did not succeed!");
return false;