diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 055e4078a4..5804936536 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -82,7 +82,7 @@ my $itemrecord; my $nextop=""; my @errors; # store errors found while checking data BEFORE saving item. my $items_display_hashref; -my $tagslib = &GetMarcStructure(1); +our $tagslib = &GetMarcStructure(1); my $deleted_items = 0; # Number of deleted items my $deleted_records = 0; # Number of deleted records ( with no items attached )