[Koha-bugs] [Bug 24674] Uncertain years for publicationyear/copyrightdate -- corrected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 3 15:37:32 CET 2021


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

--- Comment #29 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Try this:

use Modern::Perl;
use Data::Dumper qw/Dumper/;
use C4::Biblio;
print C4::Biblio::_adjust_pubyear('2xx');

19.11 => 2000
master (without this patch) => Use of uninitialized value in print at zz line
5.
(Changes between 19,11 and master: now returns undef)
Both cases are not what we expected.

This passed QA. I would recommend to push it. Further fixes may follow.

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


More information about the Koha-bugs mailing list