]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 12:31:00 +0000 (14:31 +0200)
commit1d45bf88a97ad22f529203c5dbd426ab13d812d4
tree2ab3cdd068df75afd2946bde57313987cf2789ee
parent3e0c3032b6f397f2b83073a6d274cdcfd370415e
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>
catalogue/MARCdetail.pl