Fix null pointer exception
This commit is contained in:
@@ -43,7 +43,7 @@ class FaqRepository extends AbstractRepository
|
|||||||
public function findByUids($uids)
|
public function findByUids($uids)
|
||||||
{
|
{
|
||||||
/** @var DataMapper $dataMapper */
|
/** @var DataMapper $dataMapper */
|
||||||
$dataMapper = GeneralUtility::makeInstance(DataMapper::class);
|
$dataMapper = $this->objectManager->get(DataMapper::class);
|
||||||
$qb = $this->getDbConnection()->createQueryBuilder();
|
$qb = $this->getDbConnection()->createQueryBuilder();
|
||||||
|
|
||||||
$rows = $qb
|
$rows = $qb
|
||||||
|
|||||||
Reference in New Issue
Block a user