Fix null pointer exception
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user