Fixing style errors.

This commit is contained in:
stickler-ci 2022-11-29 19:44:44 +00:00
parent 1394208de3
commit 87526194c5

View File

@ -1710,7 +1710,7 @@ class ExtraFields
dol_syslog(get_class($this).'::showOutputField error '.$this->db->lasterror(), LOG_WARNING);
}
} elseif ($type == 'radio') {
if(!isset($param['options'][$value])){
if (!isset($param['options'][$value])) {
$value = $langs->trans('ErrorNoValueForRadioType');
} else {
$value = $langs->trans($param['options'][$value]);