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') {
|
} elseif ($type == 'radio') {
|
||||||
if (!isset($param['options'][$value])) {
|
if (!isset($param['options'][$value])) {
|
||||||
|
$langs->load('errors');
|
||||||
$value = $langs->trans('ErrorNoValueForRadioType');
|
$value = $langs->trans('ErrorNoValueForRadioType');
|
||||||
} else {
|
} else {
|
||||||
$value = $langs->trans($param['options'][$value]);
|
$value = $langs->trans($param['options'][$value]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user