From bd3a0f6ac3ce9370ee13b9c325e137e2ab533fce Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 19 Aug 2002 23:08:15 +0000 Subject: [PATCH] encode_entities for comments entries --- httemplate/view/cust_main.cgi | 7 ++++--- 1 file 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 ''; if ( defined $cust_main->dbdef_table->column('comments') && $cust_main->comments ) { - print "
Comments", &ntable("#cccccc"), "", - &ntable("#cccccc",2), - '
', $cust_main->comments,
+  print "
Comments". &ntable("#cccccc"). "". + &ntable("#cccccc",2). + '
'.
+        encode_entities($cust_main->comments).
         '
'; } -- 2.11.0