minor bugfix
authormark <mark>
Tue, 16 Mar 2010 08:05:27 +0000 (08:05 +0000)
committermark <mark>
Tue, 16 Mar 2010 08:05:27 +0000 (08:05 +0000)
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;