minor bugfix
[freeside.git] / httemplate / edit / cust_main_note.cgi
index a633c9d..1fdf0d9 100755 (executable)
@@ -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;