diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 3efe8f8fdb27b8400285e58450d0c8d2f8cb3680..da4c101b7beeccfc97adc50480725de7ff16889c 100644 (file)
echo "<b>"._("Object").":</b> ".@LDAP::fix($src)."<br>";
+ $this->update_acls($object, $dst,TRUE);
+
if (!$this->copy($src, $dst)){
echo "<font color='#FF0000'><br>".sprintf(_("FAILED to copy %s, aborting operation"),@LDAP::fix($src))."</font>";
return (FALSE);
/* Remove src_dn */
$ldap->cd($src_dn);
$ldap->recursive_remove();
+ $this->dn = $this->rec_dst;
$this->rec_src = $this->rec_dst = "";
$this->rec_cpy =false;