Merge pull request #38054 from nextcloud/backport/38016/stable26

[stable26] fix: add workaround for oci and limit queries
This commit is contained in:
Christoph Wurst 2023-05-04 11:15:30 +02:00 committed by GitHub
commit 32f9b8b30e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,6 +318,7 @@ abstract class QBMapper {
* @since 14.0.0
*/
protected function mapRowToEntity(array $row): Entity {
unset($row['DOCTRINE_ROWNUM']); // remove doctrine/dbal helper column
return \call_user_func($this->entityClass .'::fromRow', $row);
}