Skip to content

Commit

Permalink
Update module/VuFindSearch/src/VuFindSearch/Backend/Primo/Response/Re…
Browse files Browse the repository at this point in the history
…cordCollectionFactory.php

Co-authored-by: Demian Katz <[email protected]>
  • Loading branch information
EreMaijala and demiankatz authored Nov 29, 2024
1 parent 4d08d39 commit 9842b0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function factory($response)
}
$collection = new $this->collectionClass($response);
foreach ($response['documents'] ?? [] as $doc) {
$record = call_user_func($this->recordFactory, $doc);
$record = ($this->recordFactory)($doc);

$collection->add($record, false);
}
Expand Down

0 comments on commit 9842b0c

Please sign in to comment.