Koha/catalogue
Marcel de Rooy 8965898873 Bug 36438: Check object for calling metadata
Resolve: Can't call method "metadata" on an undefined value at catalogue/MARCdetail.pl line 93

The proceeding lines check for $record and respond appropriately.

Test plan:
Call catalogue/MARCdetail.pl with an unexisting biblionumber.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit a37ebc77b7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1d45bf88a9)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-05-28 17:48:15 +00:00
..
detail.pl Bug 33497: Don't get host items if the MARC record is invalid 2023-07-18 10:11:33 +01:00
export.pl
getitem-ajax.pl
image.pl Bug 36511: Some scripts missing a dependency following Bug 24879 2024-04-11 14:28:13 +00:00
imageviewer.pl
ISBDdetail.pl
issuehistory.pl
item-export.pl
itemsearch.pl Bug 36563: Turn into array only if required 2024-05-23 14:05:02 +00:00
labeledMARCdetail.pl
MARCdetail.pl Bug 36438: Check object for calling metadata 2024-05-28 17:48:15 +00:00
moredetail.pl Bug 33788: Limit the number of old issues rows returned 2023-05-30 08:27:55 -03:00
search-history.pl
search.pl Bug 36000: Fix CGI::param warning in catalogue search 2024-03-19 15:15:15 +00:00
showelastic.pl Bug 18829: (QA follow-up) Replace forbidden indirect syntax 2023-04-17 09:39:42 -03:00
showmarc.pl
stockrotation.pl
updateitem.pl