Fixed that editing stock entries was not possible (fixes #1268)

This commit is contained in:
Bernd Bestel
2021-01-12 18:04:20 +01:00
parent e42f4b405d
commit bfa3347a20
3 changed files with 9 additions and 3 deletions

View File

@@ -156,6 +156,11 @@ function BoolToString(bool $bool)
return $bool ? 'true' : 'false';
}
function BoolToInt(bool $bool)
{
return $bool ? 1 : 0;
}
function ExternalSettingValue(string $value)
{
$tvalue = rtrim($value, "\r\n");