diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-06-20 15:08:10 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-06-20 15:12:20 +0200 |
commit | b96be346de62308321d1191c393c569bfa56094f (patch) | |
tree | d82e31308b4402993ad7779389b1b7c716692b30 /installer | |
parent | 2bc814eed5a5fd6cc90bd8b4b487e07a3ffbbe3b (diff) |
Canonize boolean ini_get() results (#1489189)
Conflicts:
CHANGELOG
program/lib/Roundcube/rcube.php
Diffstat (limited to 'installer')
-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'"); |