Просмотр исходного кода

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 лет назад
Родитель
Сommit
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;
 			}