Merged in bugfix/PMCORE-2970 (pull request #7886)
PMCORE-2970 Review the WARNING in the file workflow/engine/lib/Xml/DOMDocumentExtended.php Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
02e51a1652
@@ -26,7 +26,7 @@ class Xml_DOMDocumentExtended extends DOMDocument
|
||||
}
|
||||
}
|
||||
$mValue = $this->toArray($oChildNode);
|
||||
$sKey = ($oChildNode->nodeName{0} == '#') ? 0 : $oChildNode->nodeName;
|
||||
$sKey = ($oChildNode->nodeName[0] == '#') ? 0 : $oChildNode->nodeName;
|
||||
$mValue = is_array($mValue) ? $mValue[$oChildNode->nodeName] : $mValue;
|
||||
// how many of thse child nodes do we have?
|
||||
if ($iChildCount > 1) { // more than 1 child - make numeric array
|
||||
|
||||
Reference in New Issue
Block a user