mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
Conflicts: htdocs/adherents/class/adherent.class.php
This commit is contained in:
@@ -1676,8 +1676,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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user