exports: fix errors and depreciations

This commit is contained in:
2022-07-12 13:07:48 +02:00
parent 9fa3d596bb
commit e9fca1288a
3 changed files with 5 additions and 4 deletions

View File

@@ -192,8 +192,8 @@ class ListPersonDuplicate implements DirectExportInterface, ExportElementValidat
$statement = $this->entityManager->getConnection()->prepare($sql);
$statement->bindValue('precision', $precision);
$statement->execute();
$result = $statement->executeQuery();
return $statement->fetchAll();
return $result->fetchAllAssociative();
}
}