Skip to content
Snippets Groups Projects
Commit eb42b181 authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Initialize id array even if there are no more records.

parent 58211192
No related merge requests found
......@@ -459,6 +459,7 @@ class Generator
$this->countPerPage,
$params
);
$ids = [];
foreach ($results->getRecords() as $doc) {
$ids[] = $doc->get($key);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment