// hack following up the previous one (in the same file)

This commit is contained in:
dMetzger
2012-09-26 13:14:29 +00:00
parent 5696de4e80
commit 954a72f86a
+2 -1
View File
@@ -692,7 +692,8 @@ class Swift_Message extends Swift_Message_Mime
break;
}
}
$this->getReference("parent", $new_branch)->removeChild($tag);
if ($this->getReference("parent", $new_branch)->hasChild($tag))
$this->getReference("parent", $new_branch)->removeChild($tag);
$mixed = $this->getReference("parent", $new_branch);//parentRefs[$new_branch];
$this->setReference("parent", $old_branch, $mixed);//parentRefs[$old_branch] = $mixed;
switch ($new_branch)