diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/AbstractRepository.php b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/AbstractRepository.php index 10c6a9b8..41df34f1 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/AbstractRepository.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/AbstractRepository.php @@ -114,7 +114,7 @@ abstract class AbstractRepository extends Repository { foreach (['city', 'region', 'country'] as $column) { $key = $column . 'Uids'; - if (count($filterSettings[$key]) > 0) { + if (isset($filterSettings[$key]) && is_array($filterSettings[$key]) && count($filterSettings[$key]) > 0) { $qb->andWhere($qb->expr()->in( 'date.' . $column, $qb->createNamedParameter($filterSettings[$key], Connection::PARAM_INT_ARRAY)