summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2010-03-16 08:05:27 +0000
committermark <mark>2010-03-16 08:05:27 +0000
commitca68d3b10051450d8523f54cc4e579bb0d8a6cc2 (patch)
tree2de9dda2490687751e940107d0e27e0bcee1e941 /httemplate
parent7a7bcda9d75c951df9c911ce60d5b0551765daf2 (diff)
minor bugfix
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/cust_main_note.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
index a633c9d12..1fdf0d9e5 100755
--- 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 =~ s/\r//g; # remove weird line breaks to protect FCKeditor
+
$cgi->param('custnum') =~ /^(\d+)$/ or die "illeagl custnum";
my $custnum = $1;