[Koha-bugs] [Bug 25306] Unnecessary update of framework in ModBiblioMarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 30 12:23:23 CEST 2020


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

--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Frédéric Demians from comment #2)
> I suppose you have searched for all occurrences of ModBiblio, but why is you
> patch also modifying a AddBiblio call? This one:
> 
> - eval { ( $biblionumber, $biblioitemnumber ) = AddBiblio( $record, '', {
> defer_marc_save => 1 } ) };
> + eval { ( $biblionumber, $biblioitemnumber ) = AddBiblio( $record,
> $framework, { defer_marc_save => 1 } ) };

In that bit of code we are passing the framework to ModBiblioMarc after this
call - the $framework variable is the same during both calls, moving it to the
AddBiblio means we can remove it from the later call

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


More information about the Koha-bugs mailing list