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:
ralf 2024-09-12 11:56:08 +02:00
parent 55b76229ac
commit b8844cd5c4

View File

@ -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))
{