summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-02 22:39:34 +0300
committerAndrew Dolgov <[email protected]>2017-12-02 22:39:34 +0300
commit0002e598f8367d6156e9bcd71af6b125902f5138 (patch)
treea34e258c892b53bf319b76d1686f60af11688429 /include/functions.php
parentbf6db17b8f5c55ee2614abbde007f41025152ec7 (diff)
sql_bool_to_bool: backwards compat fix
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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) {