[Koha-patches] [3.2 03/13] Bug Fixing batchmod.pl

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Wed Mar 24 09:24:20 CET 2010


From: Paul Poulain <paul.poulain at biblibre.com>

---
 tools/batchMod.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/batchMod.pl b/tools/batchMod.pl
index bbea7a6..03f2bf5 100755
--- a/tools/batchMod.pl
+++ b/tools/batchMod.pl
@@ -106,7 +106,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);
 	}
 
-- 
1.6.3.3



More information about the Koha-patches mailing list