[Koha-bugs] [Bug 20310] Article requests: Can we redirect article records without items to host record?
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 3 08:38:49 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20310
--- Comment #20 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to paxed from comment #19)
> in Koha/Biblio.pm, you have:
>
> my $marc = C4::Biblio::GetMarcBiblio($self->biblionumber);
>
> but in C4/Biblio.pm, GetMarcBiblio does this:
>
> my $biblionumber = $params->{biblionumber};
>
> causing:
>
> Can't use string ("11") as a HASH ref while "strict refs" in use at
> /usr/share/koha/lib/C4/Biblio.pm line 1131.
Yeah, that was changed recently. I wrote the patch originally on 16.11..
And the associated test mocked GetMarcBiblio. So it did not fail.
Thx for reporting.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list