mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
fix et2-select-bool to return true/false and not "1" or "0", fixes mail-account edit switches sieve on again after apply
This commit is contained in:
parent
0eb67f37ea
commit
6574cec164
@ -310,6 +310,13 @@ class Select extends Etemplate\Widget
|
||||
}
|
||||
$value = $sum;
|
||||
break;
|
||||
|
||||
case 'select-bool':
|
||||
if (isset($value))
|
||||
{
|
||||
$value = (bool)$value;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (isset($value))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user