diff --git a/htdocs/copy.php b/htdocs/copy.php index 3dab63b..25bbd50 100644 --- a/htdocs/copy.php +++ b/htdocs/copy.php @@ -1,5 +1,5 @@

'; system_message(array( 'title'=>_('Failed to copy DN.').sprintf(' (%s)',$dn_dst), - 'body'=>ldap_error_msg($ldapserver->error(),$ldapserver->errno()), + 'body'=>ldap_error_msg($ldapserver_dst->error(),$ldapserver_dst->errno()), 'type'=>'error')); } else { diff --git a/htdocs/rdelete.php b/htdocs/rdelete.php index fde4e9a..e44a6d5 100644 --- a/htdocs/rdelete.php +++ b/htdocs/rdelete.php @@ -1,5 +1,5 @@ getContainerContents($dn); + $children = $ldapserver->getContainerContents($dn,0,'(objectclass=*)',LDAP_DEREF_NEVER); if (! is_array($children) || count($children) == 0) { printf('%s %s...',_('Deleting'),htmlspecialchars($dn)); diff --git a/lib/AJAXTree.php b/lib/AJAXTree.php index 9c902a6..1a27b0b 100644 --- a/lib/AJAXTree.php +++ b/lib/AJAXTree.php @@ -1,5 +1,5 @@