From 570037eed0464f6f8aa36cf287c11143ee114c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 22 Dec 2015 21:05:10 +0100 Subject: [PATCH] fix problem that angeltypes lose their restriction when edited by a coordinator --- includes/mysqli_provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } /**