commit
113144ea21
@ -1686,8 +1686,13 @@ class ExtraFields
|
||||
}
|
||||
elseif ($type == 'select')
|
||||
{
|
||||
if ($langfile && $param['options'][$value]) $value = $langs->trans($param['options'][$value]);
|
||||
else $value = $param['options'][$value];
|
||||
$valstr = $param['options'][$value];
|
||||
if (($pos = strpos($valstr, "|")) !== false)
|
||||
{
|
||||
$valstr = substr($valstr, 0, $pos);
|
||||
}
|
||||
if ($langfile && $valstr) $value = $langs->trans($valstr);
|
||||
else $value = $valstr;
|
||||
}
|
||||
elseif ($type == 'sellist')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user