projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ef62a0
)
encode_entities for comments entries
author
ivan
<ivan>
Mon, 19 Aug 2002 23:08:15 +0000
(23:08 +0000)
committer
ivan
<ivan>
Mon, 19 Aug 2002 23:08:15 +0000
(23:08 +0000)
httemplate/view/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main.cgi
b/httemplate/view/cust_main.cgi
index
421bd98
..
7d2d873
100755
(executable)
--- 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 )
{
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>';
}
'</PRE></TD></TR></TABLE></TABLE>';
}