do not use function boolval() to be compatible with PHP < 5.5 (fixes #163)

This commit is contained in:
oliver 2016-04-23 14:32:22 +02:00
parent 4c62aae669
commit ab58d10bc4

View file

@ -154,7 +154,7 @@
$answerId, $charactergroupId
);
if(!empty($data)) {
return boolval($data[0]['ticked']);
return ($data[0]['ticked'] == 1);
}