Add $langs->load('errors') before radioError
Add $langs->load('errors') before radioError
This commit is contained in:
parent
f1132ef8ba
commit
ef065967ed
@ -1711,6 +1711,7 @@ class ExtraFields
|
||||
}
|
||||
} elseif ($type == 'radio') {
|
||||
if (!isset($param['options'][$value])) {
|
||||
$langs->load('errors');
|
||||
$value = $langs->trans('ErrorNoValueForRadioType');
|
||||
} else {
|
||||
$value = $langs->trans($param['options'][$value]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user