projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working on the road:
[freeside.git]
/
httemplate
/
edit
/
process
/
part_export.cgi
diff --git
a/httemplate/edit/process/part_export.cgi
b/httemplate/edit/process/part_export.cgi
index
6b4d007
..
fa009ed
100644
(file)
--- a/
httemplate/edit/process/part_export.cgi
+++ b/
httemplate/edit/process/part_export.cgi
@@
-6,7
+6,11
@@
my $old = qsearchs('part_export', { 'exportnum'=>$exportnum } ) if $exportnum;
#fixup options
#warn join('-', split(',',$cgi->param('options')));
#fixup options
#warn join('-', split(',',$cgi->param('options')));
-my %options = map { $_=>$cgi->param($_) } split(',',$cgi->param('options'));
+my %options = map {
+ my $value = $cgi->param($_);
+ $value =~ s/\r\n/\n/g; #browsers? (textarea)
+ $_ => $value;
+} split(',', $cgi->param('options'));
my $new = new FS::part_export ( {
map {
my $new = new FS::part_export ( {
map {