MT 3044, Follow-up : Fix CSV Export when there are blank chars in tag names
Regexp is now global
This commit is contained in:
parent
f1f2d1ed8e
commit
3cfbcb63ce
|
|
@ -487,7 +487,7 @@ sub marcrecord2csv {
|
|||
my $marcfield = $_->{field};
|
||||
|
||||
# Remove any blank char that might have unintentionally insered into the tag name
|
||||
$marcfield =~ s/\s+//;
|
||||
$marcfield =~ s/\s+//g;
|
||||
|
||||
# If it is a subfield
|
||||
if (index($marcfield, '$') > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue