Browse Source

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3839 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 years ago
parent
commit
9871840144
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/moduledesign.class.inc.php

+ 1 - 1
core/moduledesign.class.inc.php

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