From 3e8a8a57d1683c1f7e09f97dac63262346325781 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 1 Feb 2010 11:21:40 +0100 Subject: [PATCH] warning on C4/Biblio.pm --- C4/Biblio.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 883678a2a1..c0777abd9d 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -3000,6 +3000,8 @@ sub _koha_marc_update_bib_ids { # we drop the original field # we add the new builded field. my ($biblio_tag, $biblio_subfield ) = GetMarcFromKohaField("biblio.biblionumber",$frameworkcode); + unless ( $biblio_tag ) { die "can't GetMarcFromKohaField for framework $frameworkcode"; } + my ($biblioitem_tag, $biblioitem_subfield ) = GetMarcFromKohaField("biblioitems.biblioitemnumber",$frameworkcode); if ($biblio_tag != $biblioitem_tag) { -- 2.39.5