Index: trunk/core/units/general/xml_helper.php =================================================================== diff -u -r4418 -r4934 --- trunk/core/units/general/xml_helper.php (.../xml_helper.php) (revision 4418) +++ trunk/core/units/general/xml_helper.php (.../xml_helper.php) (revision 4934) @@ -187,7 +187,8 @@ function &NextSibling() { if (!is_null($this->Parent)) { - return $this->Parent->GetChildByPosition($this->Position + 1); + $ret =& $this->Parent->GetChildByPosition($this->Position + 1); + return $ret; } else { $false = false;