diff options
author | mark <mark> | 2010-03-16 08:05:27 +0000 |
---|---|---|
committer | mark <mark> | 2010-03-16 08:05:27 +0000 |
commit | ca68d3b10051450d8523f54cc4e579bb0d8a6cc2 (patch) | |
tree | 2de9dda2490687751e940107d0e27e0bcee1e941 /httemplate | |
parent | 7a7bcda9d75c951df9c911ce60d5b0551765daf2 (diff) |
minor bugfix
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/cust_main_note.cgi | 2 |
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; |