diff options
Diffstat (limited to 'installer/check.php')
-rw-r--r-- | installer/check.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/check.php b/installer/check.php index bea8c42e0..122437b9b 100644 --- a/installer/check.php +++ b/installer/check.php @@ -203,7 +203,7 @@ foreach ($ini_checks as $var => $val) { echo '<br />'; continue; } - if ($status == $val) { + if (filter_var($status, FILTER_VALIDATE_BOOLEAN) == $val) { $RCI->pass($var); } else { $RCI->fail($var, "is '$status', should be '$val'"); @@ -227,7 +227,7 @@ foreach ($optional_checks as $var => $val) { echo '<br />'; continue; } - if ($status == $val) { + if (filter_var($status, FILTER_VALIDATE_BOOLEAN) == $val) { $RCI->pass($var); } else { $RCI->optfail($var, "is '$status', could be '$val'"); |