fix problem that angeltypes lose their restriction when edited by a coordinator
This commit is contained in:
parent
dc5b0a6214
commit
570037eed0
|
@ -179,7 +179,7 @@ function sql_escape($query) {
|
|||
* @return string
|
||||
*/
|
||||
function sql_bool($boolean) {
|
||||
return $boolean === true ? 'TRUE' : 'FALSE';
|
||||
return $boolean == true ? 'TRUE' : 'FALSE';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue