mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01: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
55b76229ac
commit
b8844cd5c4
@ -311,6 +311,13 @@ class Select extends Etemplate\Widget
|
||||
}
|
||||
$value = $sum;
|
||||
break;
|
||||
|
||||
case 'select-bool':
|
||||
if (isset($value))
|
||||
{
|
||||
$value = (bool)$value;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (isset($value))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user