mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +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;
|
$value = $sum;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'select-bool':
|
||||||
|
if (isset($value))
|
||||||
|
{
|
||||||
|
$value = (bool)$value;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (isset($value))
|
if (isset($value))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user