diff --git a/Classes/Domain/Repository/QuestionRepository.php b/Classes/Domain/Repository/QuestionRepository.php index fee23f0..03c95a0 100644 --- a/Classes/Domain/Repository/QuestionRepository.php +++ b/Classes/Domain/Repository/QuestionRepository.php @@ -66,7 +66,7 @@ protected function filterBySettingsCategories(QueryInterface $query, array $and, foreach ($categoryUids as $categoryUid) { $logicalOr[] = $query->equals('categories.uid', (int)$categoryUid); } - $and[] = $query->logicalOr($logicalOr); + $and[] = $query->logicalOr(...$logicalOr); } return $and; }