forked from extern/egroupware
fixed double translation of extra options in selectboxes
This commit is contained in:
parent
8638a5df3c
commit
fc866feeaa
@ -807,7 +807,8 @@
|
||||
if (!empty($multiple) && 0+$multiple <= 0)
|
||||
{
|
||||
$sels[''] = $multiple < 0 ? 'all' : $multiple;
|
||||
if ((int)$cell['no_lang'] < 2)
|
||||
// extra-option: no_lang=0 gets translated later and no_lang=1 gets translated too (now), only no_lang>1 gets not translated
|
||||
if ((int)$cell['no_lang'] == 1)
|
||||
{
|
||||
$sels[''] = lang($sels['']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user