X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_note.cgi;h=1fdf0d9e5434d0107fbef5bdb89c27d9c2455cb4;hb=e078ca418dcf3c7b92efcd371ce761df3314c369;hp=a633c9d12da069ac138f117336be916fb6b694e3;hpb=c86fe9ea75d23d3d0c3536b709ac1e086f15a5de;p=freeside.git 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;