We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4437c5 commit 61640e4Copy full SHA for 61640e4
solid/lib/BaseServerConfig.php
@@ -214,7 +214,7 @@ private function castToBool(string $mixedValue): bool
214
$mixedValue = strtolower($mixedValue);
215
if ($mixedValue === 'true' || $mixedValue === '1') {
216
$value = true;
217
- } elseif ($mixedValue === 'false' || $mixedValue === '0') {
+ } elseif ($mixedValue === 'false' || $mixedValue === '0' || $mixedValue === '') {
218
$value = false;
219
} else {
220
$error = [
0 commit comments