diff --git a/include/functions.php b/include/functions.php index 459762d58..21cf3fef8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -941,7 +941,7 @@ } function sql_bool_to_bool($s) { - return $s && ($s != "f" && $s != "false"); //no-op for PDO, backwards compat for legacy layer + return $s && ($s !== "f" && $s !== "false"); //no-op for PDO, backwards compat for legacy layer } function bool_to_sql_bool($s) {