X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=7d2d873151eecc9fe2ca6d7f5958f425bf47014b;hb=bd3a0f6ac3ce9370ee13b9c325e137e2ab533fce;hp=f0d342633e63578803b2183c8502dc766c6a6791;hpb=d515768232afa35557496bb867f5708f279465e3;p=freeside.git diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index f0d342633..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).
         '
'; } @@ -295,7 +296,7 @@ print qq!
!; print < function cust_pkg_areyousure(href) { - if (confirm("Permanantly delete included services and cancel this package?") == true) + if (confirm("Permanently delete included services and cancel this package?") == true) window.location.href = href; }