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

--- Comment #20 from Marcel de Rooy <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to