https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17842 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |julian.maurice@biblibre.com --- Comment #51 from Julian Maurice <julian.maurice@biblibre.com> --- (In reply to David Cook from comment #47)
(In reply to Jonathan Druart from comment #46)
I think the whole block could be:
$output .= encode("UTF-8", $record->as_usmarc()) // q{};
From Encode::encode POD: "If the $string is undef, then undef is returned."
Personally, I don't like putting method output directly into another function call, as it can make exception handling harder.
I don't like it either, but it should be harmless in this particular case. -- You are receiving this mail because: You are watching all bug changes.