Internal: Removed PHP notices in ajax call from autocomplete fields in the console

SVN:trunk[4864]
This commit is contained in:
Guillaume Lajarige
2017-08-17 15:47:32 +00:00
parent 80832877eb
commit 04030e07e3
2 changed files with 3 additions and 3 deletions

View File

@@ -578,7 +578,7 @@ try
$oObj->Set($sAttCode, $defaultValue);
}
$sFormPrefix = $oWizardHelper->GetFormPrefix();
$aExpectedAttributes = $oObj->GetTransitionAttributes($oWizardHelper->GetStimulus(), $oWizardHelper->GetInitialState());
$aExpectedAttributes = ($oWizardHelper->GetStimulus() === null) ? array() : $oObj->GetTransitionAttributes($oWizardHelper->GetStimulus(), $oWizardHelper->GetInitialState());
foreach($oWizardHelper->GetFieldsForAllowedValues() as $sAttCode)
{
$sId = $oWizardHelper->GetIdForField($sAttCode);