mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed double translation of extra options in selectboxes
This commit is contained in:
parent
b7940f1f53
commit
9e1dcb9a78
@ -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