Fixed a typo in ModuleDesignElement->Dump() function. Was creating an object of iTopDesignDocument class instead of ModuleDesign class.

SVN:trunk[3839]
This commit is contained in:
Guillaume Lajarige
2015-12-02 10:38:24 +00:00
parent a16e746aa1
commit c69279ee20

View File

@@ -243,7 +243,7 @@ class ModuleDesignElement extends DOMElement
*/
public function Dump($bReturnRes = false)
{
$oDoc = new iTopDesignDocument();
$oDoc = new ModuleDesign();
$oClone = $oDoc->importNode($this->cloneNode(true), true);
$oDoc->appendChild($oClone);