projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b4990
)
Bug 5637 : MT3044 : Fix CSV export when rer are blank characters
github/bug_5637
origin/new/enh/bug_5637
author
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Wed, 6 Apr 2011 15:00:45 +0000
(17:00 +0200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Sat, 9 Apr 2011 07:35:21 +0000
(19:35 +1200)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Record.pm
patch
|
blob
|
history
diff --git
a/C4/Record.pm
b/C4/Record.pm
index
b313fb8
..
990bb50
100644
(file)
--- a/
C4/Record.pm
+++ b/
C4/Record.pm
@@
-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}) {