mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 06:23:48 +01:00
LSldapObject : fix removing old RDN value after object renaming
This commit is contained in:
parent
cf4502ac3b
commit
1dec2cc4f6
1 changed files with 4 additions and 0 deletions
|
@ -603,6 +603,10 @@ class LSldapObject {
|
|||
}
|
||||
$this -> dn = $newDn;
|
||||
$this -> oldDn = $oldDn;
|
||||
|
||||
// PHP Net_LDAP2 does not remove old RDN value : replace RDN value
|
||||
$submitData[$attr -> name] = $attr -> getUpdateData();
|
||||
|
||||
if (!$this -> fireEvent('after_rename')) {
|
||||
LSerror :: addErrorCode('LSldapObject_17');
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue