Skip to content

Commit

Permalink
[FINNA-505] Adjust Mikromarc::checkRequestIsValid function to check p…
Browse files Browse the repository at this point in the history
…roper array keys (vufind-org#2598)
  • Loading branch information
LuomaJuha authored May 4, 2023
1 parent f4129bd commit f28920d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Finna/src/Finna/ILS/Driver/Mikromarc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2342,8 +2342,8 @@ public function checkRequestIsValid($id, $data, $patron)
$items = $this->getStatus($id);
$summary = array_pop($items);
if (
(isset($summary['titleHold']) && $summary['titleHold'] === false)
|| !$summary['holdable']
!empty($summary['number'])
|| empty($summary['is_holdable'])
) {
return false;
}
Expand Down

0 comments on commit f28920d

Please sign in to comment.