[Koha-bugs] [Bug 29697] Replace GetMarcBiblio occurrences with $biblio->metadata->record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 10:49:47 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697

--- Comment #48 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+my $invalid_marc_record = $@ || !$marc_record;
+if ($invalid_marc_record) {
+    $template->param( decoding_error => $@ );

Theoretically $@ might be empty but there is not $marc_record.
So you could provide a fallback for no error message in the last line..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list