From d0bca1bdd3db3a19ab362d651bae556876a115e4 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Wed, 24 Mar 2010 09:24:20 +0100 Subject: [PATCH] Bug Fixing batchmod.pl Signed-off-by: Galen Charlton --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 1139c0f7ce..5db1d4a210 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -107,7 +107,7 @@ if ($op eq "action") { $items_display_hashref=BuildItemsData(@itemnumbers); } else { # Else, we only display the barcode - my @simple_items_display = map {{ itemnumber => $_, barcode => GetBarcodeFromItemnumber($_), biblionumber => GetBiblionumberFromItemnumber($_) }} @itemnumbers; + my @simple_items_display = map {{ itemnumber => $_, barcode => (GetBarcodeFromItemnumber($_) or ""), biblionumber => (GetBiblionumberFromItemnumber($_) or "") }} @itemnumbers; $template->param("simple_items_display" => \@simple_items_display); } -- 2.39.5