diff --git a/application/uiwizard.class.inc.php b/application/uiwizard.class.inc.php
index c1b5c0e0a..72ee34e6d 100644
--- a/application/uiwizard.class.inc.php
+++ b/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("Error: Circular reference in the dependencies between the fields.");
+ $this->m_oPage->add("Error: Circular reference in the dependencies between the fields.");
print_r($aFields);
break;
}