mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
datamodel and dictionnaries refactoring/cleanup
This commit is contained in:
@@ -1554,7 +1554,7 @@ EOF
|
||||
$oRootNode = $oXMLDoc->createElement('dashboard'); // make sure that the document is not empty
|
||||
$oRootNode->setAttribute('xmlns:xsi', "http://www.w3.org/2001/XMLSchema-instance");
|
||||
$oXMLDoc->appendChild($oRootNode);
|
||||
foreach($oDashboardDefinition->childNodes as $oNode)
|
||||
foreach ($oDashboardDefinition->childNodes as $oNode)
|
||||
{
|
||||
$oDefNode = $oXMLDoc->importNode($oNode, true); // layout, cells, etc Nodes and below
|
||||
$oRootNode->appendChild($oDefNode);
|
||||
@@ -2128,7 +2128,7 @@ EOF
|
||||
$oRootNode = $oXMLDoc->createElement('dashboard'); // make sure that the document is not empty
|
||||
$oRootNode->setAttribute('xmlns:xsi', "http://www.w3.org/2001/XMLSchema-instance");
|
||||
$oXMLDoc->appendChild($oRootNode);
|
||||
foreach($oDashboardDefinition->childNodes as $oNode)
|
||||
foreach ($oDashboardDefinition->childNodes as $oNode)
|
||||
{
|
||||
$oDefNode = $oXMLDoc->importNode($oNode, true); // layout, cells, etc Nodes and below
|
||||
$oRootNode->appendChild($oDefNode);
|
||||
|
||||
Reference in New Issue
Block a user