From 29af6786d1efb59d5eae30d42ff338bd5df69efc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Oct 2008 15:28:37 +0000 Subject: [PATCH] "fixed not working delete for contacts in ldap, as reported by Bernhard D Rohrer on the English user list" --- addressbook/inc/class.addressbook_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ldap.inc.php b/addressbook/inc/class.addressbook_ldap.inc.php index ee3700898f..fff1a49a34 100644 --- a/addressbook/inc/class.addressbook_ldap.inc.php +++ b/addressbook/inc/class.addressbook_ldap.inc.php @@ -539,7 +539,7 @@ class addressbook_ldap foreach($keys as $entry) { - $entry = ldap::quote($entry); + $entry = ldap::quote(is_array($entry) ? $entry['id'] : $entry); if($result = ldap_search($this->ds, $GLOBALS['egw_info']['server']['ldap_contact_context'], "(|(entryUUID=$entry)(uid=$entry))", $attributes)) {