fix problem that angeltypes lose their restriction when edited by a coordinator

This commit is contained in:
Philip Häusler 2015-12-22 21:05:10 +01:00
parent dc5b0a6214
commit 570037eed0
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ function sql_escape($query) {
* @return string
*/
function sql_bool($boolean) {
return $boolean === true ? 'TRUE' : 'FALSE';
return $boolean == true ? 'TRUE' : 'FALSE';
}
/**