Fix for when renaming entries only changes case (https://bugs.launchpad.net/bugs/384157)

This commit is contained in:
Deon George 2009-08-17 10:52:46 +10:00
parent df404d435a
commit a5b9e43a57

View File

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