From 4ce1f9c4da5be79fda0e4b5026d28e531f81fd89 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 --- C4/Biblio.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 C4/Biblio.pm diff --git a/C4/Biblio.pm b/C4/Biblio.pm old mode 100644 new mode 100755 index e72620f8a0..8bebb250ad --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -236,10 +236,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