mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed select-percent: if an extra-label was given (eg. None) it used 0% even if the value was empty or unset, now the extra-label is used
This commit is contained in:
parent
046291100a
commit
3f0a208c6a
@ -175,7 +175,10 @@
|
||||
$cell['sel_options'][intval($i)] = intval($i).'%';
|
||||
}
|
||||
$cell['sel_options'][100] = '100%';
|
||||
if (!$rows || !empty($value))
|
||||
{
|
||||
$value = intval(($value+($decr/2)) / $decr) * $decr;
|
||||
}
|
||||
$cell['no_lang'] = True;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user