From ca68d3b10051450d8523f54cc4e579bb0d8a6cc2 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 16 Mar 2010 08:05:27 +0000 Subject: [PATCH] minor bugfix --- httemplate/edit/cust_main_note.cgi | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.11.0