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

main
Philip Häusler 9 years ago
parent dc5b0a6214
commit 570037eed0

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

Loading…
Cancel
Save