This commit is contained in:
2020-06-25 21:53:33 +02:00
parent 37ef65fd2f
commit 1896351a9b
4 changed files with 5 additions and 4 deletions

View File

@@ -395,6 +395,6 @@ abstract class SQL {
public abstract function getStatus();
public function parseBool($val) : bool {
return in_array($val, array(true, 1, '1', 't', 'true', 'TRUE'));
return in_array($val, array(true, 1, '1', 't', 'true', 'TRUE'), true);
}
}