mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 21:26:16 +02:00
Fix non-string settings were not correctly recognized
This commit is contained in:
parent
2d712b0ef7
commit
33e5ed9ddc
|
|
@ -128,7 +128,7 @@ function BoolToString(bool $bool)
|
||||||
return $bool ? 'true' : 'false';
|
return $bool ? 'true' : 'false';
|
||||||
}
|
}
|
||||||
|
|
||||||
function Setting(string $name, string $value)
|
function Setting(string $name, $value)
|
||||||
{
|
{
|
||||||
if (!defined($name))
|
if (!defined($name))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user