diff options
author | ivan <ivan> | 2002-08-19 23:08:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-08-19 23:08:15 +0000 |
commit | bd3a0f6ac3ce9370ee13b9c325e137e2ab533fce (patch) | |
tree | 693bcc9715a35a7b812c951f97992dcd2baf4d21 /httemplate/view | |
parent | 3ef62a0570055da710328937e7f65dbb2c027c62 (diff) |
encode_entities for comments entries
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 421bd98a4..7d2d87315 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -241,9 +241,10 @@ print '</TD></TR></TABLE>'; if ( defined $cust_main->dbdef_table->column('comments') && $cust_main->comments ) { - print "<BR>Comments", &ntable("#cccccc"), "<TR><TD>", - &ntable("#cccccc",2), - '<TR><TD BGCOLOR="#ffffff"><PRE>', $cust_main->comments, + print "<BR>Comments". &ntable("#cccccc"). "<TR><TD>". + &ntable("#cccccc",2). + '<TR><TD BGCOLOR="#ffffff"><PRE>'. + encode_entities($cust_main->comments). '</PRE></TD></TR></TABLE></TABLE>'; } |