do not use function boolval() to be compatible with PHP < 5.5 (fixes #163)
This commit is contained in:
parent
4c62aae669
commit
ab58d10bc4
|
@ -154,7 +154,7 @@
|
|||
$answerId, $charactergroupId
|
||||
);
|
||||
if(!empty($data)) {
|
||||
return boolval($data[0]['ticked']);
|
||||
return ($data[0]['ticked'] == 1);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue