]> git.koha-community.org Git - koha.git/commit
Bug 36438: Check object for calling metadata
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 27 Mar 2024 12:19:34 +0000 (12:19 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 17:48:15 +0000 (17:48 +0000)
commit89658988736b7960d561947df14ccda2e934c65e
tree06611f380cefa7d9b746c5de7d3b00aea940634b
parentb9d4408648ac5450ccb071f817b9a25a9d3506cd
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 a37ebc77b7f3513b2775ebb8819a710e5a2eb416)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1d45bf88a97ad22f529203c5dbd426ab13d812d4)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
catalogue/MARCdetail.pl