diff options
author | Philip Häusler <msquare@notrademark.de> | 2015-12-22 21:05:10 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2015-12-22 21:05:10 +0100 |
commit | 570037eed0464f6f8aa36cf287c11143ee114c71 (patch) | |
tree | 480a41cd102e8c295e206bc55361feb4be2a7b54 | |
parent | dc5b0a6214f3b13eebfaa8e95c41e2d55d387a0f (diff) |
fix problem that angeltypes lose their restriction when edited by a coordinator
-rw-r--r-- | includes/mysqli_provider.php | 2 |
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'; } /** |