Skip to content

Commit

Permalink
Merge pull request #19 from elbebass/4-0-x
Browse files Browse the repository at this point in the history
[BUGFIX] ParseFunc must return int instead of real boolean
  • Loading branch information
elbebass authored Mar 10, 2022
2 parents 060f4e7 + e006056 commit 3930c79
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 3930c79

Please sign in to comment.