mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Fixed that editing stock entries was not possible (fixes #1268)
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user