X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_note.cgi;h=1fdf0d9e5434d0107fbef5bdb89c27d9c2455cb4;hp=6c6a1a9a0ec2a1f1aa2120caa19afa52e9b27252;hb=9c9a1838b54292c62e940d7e6cee5141ea8e9b5c;hpb=18067f0bd41356e905666128c5e8105d1fca7c60 diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi index 6c6a1a9a0..1fdf0d9e5 100755 --- a/httemplate/edit/cust_main_note.cgi +++ b/httemplate/edit/cust_main_note.cgi @@ -8,9 +8,11 @@

- +<% include('/elements/htmlarea.html', 'field' => 'comment', + 'curr_value' => $comment) %> +% #

"> @@ -33,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;