"fixed not working delete for contacts in ldap, as reported by Bernhard D Rohrer on the English user list"

This commit is contained in:
Ralf Becker 2008-10-08 15:28:37 +00:00
parent 8f6cf0ac8f
commit 29af6786d1

View File

@ -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))
{