projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7a7bcda
)
minor bugfix
author
mark
<mark>
Tue, 16 Mar 2010 08:05:27 +0000
(08:05 +0000)
committer
mark
<mark>
Tue, 16 Mar 2010 08:05:27 +0000
(08:05 +0000)
httemplate/edit/cust_main_note.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main_note.cgi
b/httemplate/edit/cust_main_note.cgi
index
a633c9d
..
1fdf0d9
100755
(executable)
--- a/
httemplate/edit/cust_main_note.cgi
+++ b/
httemplate/edit/cust_main_note.cgi
@@
-35,6
+35,8
@@
if ( $cgi->param('error') ) {
$comment = $note->comments;
}
$comment = $note->comments;
}
+$comment =~ s/\r//g; # remove weird line breaks to protect FCKeditor
+
$cgi->param('custnum') =~ /^(\d+)$/ or die "illeagl custnum";
my $custnum = $1;
$cgi->param('custnum') =~ /^(\d+)$/ or die "illeagl custnum";
my $custnum = $1;