From 90a5fab2faf934013448e792eade9c856d734ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 16 Jun 2026 10:32:26 +0200 Subject: [PATCH] fix: normalize form values for calculation --- .../ep_products/Classes/Domain/Model/Dto/GroupsPriceInquiry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Dto/GroupsPriceInquiry.php b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Dto/GroupsPriceInquiry.php index 141ce4e0..0a9d3ad7 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Dto/GroupsPriceInquiry.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Dto/GroupsPriceInquiry.php @@ -431,7 +431,7 @@ class GroupsPriceInquiry */ public function getEffectivePax() { - return max(30, $this->getPax() - $this->getChildren()); + return max(30, (int) $this->getPax() - (int) $this->getChildren()); } /**