Fix for when renaming entries only changes case (https://bugs.launchpad.net/bugs/384157)
This commit is contained in:
parent
df404d435a
commit
a5b9e43a57
@ -225,6 +225,7 @@ abstract class Tree {
|
||||
$dnlowerNEW = $this->indexDN($dnNEW);
|
||||
|
||||
$this->entries[$dnlowerNEW] = $this->entries[$dnlowerOLD];
|
||||
if ($dnlowerOLD != $dnlowerNEW)
|
||||
unset($this->entries[$dnlowerOLD]);
|
||||
$this->entries[$dnlowerNEW]->rename($dnNEW);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user