From 3465124e245b5c9b5574590ff1074bcbd5985e84 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 28 May 2009 18:32:19 +0200 Subject: [PATCH] Fixing API of ModBiblioMarc no need to retrieve $biblionumber, as we already know it Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- C4/Biblio.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 24c60ff362..7c6971d933 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -238,10 +238,9 @@ sub AddBiblio { _koha_marc_update_biblioitem_cn_sort($record, $olddata, $frameworkcode); # now add the record - $biblionumber = ModBiblioMarc( $record, $biblionumber, $frameworkcode ) unless $defer_marc_save; + ModBiblioMarc( $record, $biblionumber, $frameworkcode ) unless $defer_marc_save; logaction("CATALOGUING", "ADD", $biblionumber, "biblio") if C4::Context->preference("CataloguingLog"); - return ( $biblionumber, $biblioitemnumber ); } -- 2.39.5