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
commit e50c2bb5e6

View file

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