mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°3750 Fix syntax for array key
Thanks @Molkobain !
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user