diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/FaqRepository.php b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/FaqRepository.php index 354db01d..49f8f7fd 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/FaqRepository.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/FaqRepository.php @@ -43,7 +43,7 @@ class FaqRepository extends AbstractRepository public function findByUids($uids) { /** @var DataMapper $dataMapper */ - $dataMapper = GeneralUtility::makeInstance(DataMapper::class); + $dataMapper = $this->objectManager->get(DataMapper::class); $qb = $this->getDbConnection()->createQueryBuilder(); $rows = $qb