summaryrefslogtreecommitdiff
path: root/includes/mysqli_provider.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-22 21:05:10 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-22 21:05:10 +0100
commit570037eed0464f6f8aa36cf287c11143ee114c71 (patch)
tree480a41cd102e8c295e206bc55361feb4be2a7b54 /includes/mysqli_provider.php
parentdc5b0a6214f3b13eebfaa8e95c41e2d55d387a0f (diff)
fix problem that angeltypes lose their restriction when edited by a coordinator
Diffstat (limited to 'includes/mysqli_provider.php')
-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';
}
/**