]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 09:25:59 +0000 (11:25 +0200)
commita37ebc77b7f3513b2775ebb8819a710e5a2eb416
tree9e6665b73dc0675bf28cbf7b2c2ba0e3caf8dd5e
parent66e03ef4e51c9da48c6492d088e1baa33f9db826
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>
catalogue/MARCdetail.pl