Koha/catalogue
Marcel de Rooy 1d45bf88a9 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>
2024-05-23 14:31:00 +02:00
..
detail.pl Bug 35099: (bug 26314 follow-up) Fix detail view for records with invalid MARCXML 2023-10-20 11:02:52 -03:00
export.pl
getitem-ajax.pl
image.pl Bug 36511: Some scripts missing a dependency following Bug 24879 2024-04-11 15:57:36 +02:00
imageviewer.pl
ISBDdetail.pl
issuehistory.pl
item-export.pl
itemsearch.pl Bug 36563: Turn into array only if required 2024-05-22 14:35:48 +02:00
labeledMARCdetail.pl
MARCdetail.pl Bug 36438: Check object for calling metadata 2024-05-23 14:31:00 +02: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-11 10:30:38 +01:00
showelastic.pl Bug 35618: Remove deprecated parameter "type" from showelastic.pl page 2024-01-03 17:25:29 +01:00
showmarc.pl
stockrotation.pl
updateitem.pl Bug 29002: Tidy 2023-11-03 12:04:30 -03:00