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