From e006056dd5814ec91471364b601e060e76ca4a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Ro=CC=88sch?= Date: Thu, 10 Mar 2022 14:44:08 +0100 Subject: [PATCH] [BUGFIX] ParseFunc must return int instead of real boolean --- Classes/Utility/ParseFuncUtility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Utility/ParseFuncUtility.php b/Classes/Utility/ParseFuncUtility.php index 2e868d0d..692dd7d9 100644 --- a/Classes/Utility/ParseFuncUtility.php +++ b/Classes/Utility/ParseFuncUtility.php @@ -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: