mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8772 - Form turbo stream WIP
This commit is contained in:
@@ -61,7 +61,7 @@ class AttributeValueChoiceFormBlock extends ChoiceFormBlock
|
||||
$oAttDef = \MetaModel::GetAttributeDef(strval($oClassName), strval($oAttribute));
|
||||
$aValues = $oAttDef->GetAllowedValues();
|
||||
|
||||
$aOptions['choices'] = array_flip($aValues);
|
||||
$aOptions['choices'] = array_flip($aValues ?? []);
|
||||
|
||||
return $aOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user