Bug 5637 : MT3044 : Fix CSV export when rer are blank characters
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
40b49900c3
commit
0c8c7a8db6
|
|
@ -411,6 +411,8 @@ sub marcrecord2csv {
|
|||
foreach (@marcfields) {
|
||||
|
||||
my $field = $_->{field};
|
||||
# Remove any blank char that might have unintentionally insered into the tag name
|
||||
$field =~ s/\s+//g;
|
||||
|
||||
# If we have a user-supplied header, we use it
|
||||
if (exists $_->{header}) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue