Skip to content
Snippets Groups Projects
Commit 91f3af9c authored by Ere Maijala's avatar Ere Maijala
Browse files

Fixed the local check call when fetching remote holds.

parent 8f0bbd28
No related merge requests found
......@@ -2224,7 +2224,7 @@ EOT;
if (isset($results->holds->institution)) {
foreach ($results->holds->institution as $institution) {
// Only take remote holds
if ($this->isLocalInst($institution)) {
if ($this->isLocalInst((string)$institution->attributes()->id)) {
continue;
}
......
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