Fix null pointer exception

This commit is contained in:
Björn Fromme committed 2019-06-07 14:42:09 +02:00
1 parent 4758908e60
commit 5fed619018
1 file changed
+1 -1
@@ -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