summaryrefslogtreecommitdiff
path: root/lib/Kolab
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab')
-rw-r--r--lib/Kolab/CardDAV/LDAPDirectory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kolab/CardDAV/LDAPDirectory.php b/lib/Kolab/CardDAV/LDAPDirectory.php
index ca175f2..ccebbe4 100644
--- a/lib/Kolab/CardDAV/LDAPDirectory.php
+++ b/lib/Kolab/CardDAV/LDAPDirectory.php
@@ -164,6 +164,8 @@ class LDAPDirectory extends DAV\Collection implements \Sabre\CardDAV\IDirectory,
$contact = null;
if ($ldap = $this->connect()) {
+ $ldap->reset();
+
// used cached uid mapping
$cached_index = $this->cache ? $this->cache->get('index') : array();
if ($cached_index[$uid]) {