mirror of
https://github.com/grocy/grocy.git
synced 2026-06-09 03:35:05 +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