diff --git a/plugins/generic/driver/DRIVERDAO.php b/plugins/generic/driver/DRIVERDAO.php index e35b8174043..dd1877e3327 100644 --- a/plugins/generic/driver/DRIVERDAO.php +++ b/plugins/generic/driver/DRIVERDAO.php @@ -50,7 +50,7 @@ public function &getDRIVERRecordsOrIdentifiers($setIds, $from, $until, $offset, { $records = []; - $result = new \ArrayIterator($this->_getRecordsRecordSetQuery($setIds, $from, $until, null)->get()); + $result = new \ArrayIterator($this->_getRecordsRecordSetQuery($setIds, $from, $until, null)->get()->all()); $total = 0; for ($i = 0; $i < $offset; $i++) {