diff --git a/src/Bundle/ChillPersonBundle/Export/Helper/FilterListAccompanyingPeriodHelper.php b/src/Bundle/ChillPersonBundle/Export/Helper/FilterListAccompanyingPeriodHelper.php index a86c29d14..a62c7ac89 100644 --- a/src/Bundle/ChillPersonBundle/Export/Helper/FilterListAccompanyingPeriodHelper.php +++ b/src/Bundle/ChillPersonBundle/Export/Helper/FilterListAccompanyingPeriodHelper.php @@ -92,7 +92,7 @@ final readonly class FilterListAccompanyingPeriodHelper implements FilterListAcc } // Prevent invalid/empty WHERE when no conditions were added (e.g., no centers available) - if (method_exists($aclConditionsOrX, 'getParts') && 0 === count($aclConditionsOrX->getParts())) { + if (0 === count($aclConditionsOrX->getParts())) { // No allowed conditions => return no rows $qb->andWhere('1 = 0'); } else {