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