From: Paul Poulain <[email protected]>

---
 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

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to