N°3750 Fix syntax for array key

Thanks @Molkobain !
This commit is contained in:
Pierre Goiffon
2021-02-24 20:08:15 +01:00
parent 30cddeae2d
commit 4d78f4b535
2 changed files with 3 additions and 3 deletions

View File

@@ -860,7 +860,7 @@ EOF
$val = array(
'label' => '<label>'.$oAttDef->GetLabel().'</label>',
'value' => $sHTMLValue,
'inputId' => $sInputId,
'input_id' => $sInputId,
'comments' => $sComments,
'infos' => $sInfos,
);
@@ -907,7 +907,7 @@ EOF
$val = array(
'label' => '<span '.$sDescriptionHTMLTag.' >'.$oAttDef->GetLabel().'</span>',
'value' => $sHTMLValue,
'inputId' => $sInputId,
'input_id' => $sInputId,
'comments' => $sComments,
'infos' => $sInfos,
);

View File

@@ -31,7 +31,7 @@ class FieldUIBlockFactory extends AbstractUIBlockFactory
'attlabel' => 'SetAttLabel',
'value_raw' => 'SetValueRaw',
'comments' => 'SetComments',
'inputId' => 'SetInputId',
'input_id' => 'SetInputId',
];
foreach ($aParamsMapping as $sParamKey => $sFieldMethod) {
self::UpdateFieldFromParams($oField, $sFieldMethod, $aParams, $sParamKey);