sql_bool_to_bool: backwards compat fix
This commit is contained in:
parent
bf6db17b8f
commit
0002e598f8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue