Skip to content

Commit

Permalink
[BUGFIX] ParseFunc must return int instead of real boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
elbebass committed Mar 10, 2022
1 parent 0148360 commit e006056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Utility/ParseFuncUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function transformValue(string $processing, $value)

case 'bool-negate':
case 'negate-bool':
$value = !(bool)$value;
$value = (bool)$value ? 0 : 1;
break;

default:
Expand Down

0 comments on commit e006056

Please sign in to comment.