Преглед изворни кода

Bug fix: application crashes when a incorrect wizard config is detected

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@318 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 15 година
родитељ
комит
c0851125d7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/uiwizard.class.inc.php

+ 1 - 1
application/uiwizard.class.inc.php

@@ -283,7 +283,7 @@ $sJSHandlerCode
 			if (count($aCurrentStep) == 0)
 			{
 				// This step of the wizard would contain NO field !
-				$oPage->add("<strong>Error:</strong> Circular reference in the dependencies between the fields.");
+				$this->m_oPage->add("<strong>Error:</strong> Circular reference in the dependencies between the fields.");
 				print_r($aFields);
 				break;
 			}