summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/mysqli_provider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/mysqli_provider.php b/includes/mysqli_provider.php
index 8daa7597..d27a1d58 100644
--- a/includes/mysqli_provider.php
+++ b/includes/mysqli_provider.php
@@ -179,7 +179,7 @@ function sql_escape($query) {
* @return string
*/
function sql_bool($boolean) {
- return $boolean === true ? 'TRUE' : 'FALSE';
+ return $boolean == true ? 'TRUE' : 'FALSE';
}
/**