projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
092cdf2
)
don't display empty comment box
author
ivan
<ivan>
Mon, 13 Aug 2001 23:15:35 +0000
(23:15 +0000)
committer
ivan
<ivan>
Mon, 13 Aug 2001 23:15:35 +0000
(23:15 +0000)
httemplate/view/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main.cgi
b/httemplate/view/cust_main.cgi
index
8b6fb0c
..
088e2bb
100755
(executable)
--- a/
httemplate/view/cust_main.cgi
+++ b/
httemplate/view/cust_main.cgi
@@
-1,5
+1,5
@@
<%
<%
-#<!-- $Id: cust_main.cgi,v 1.
3 2001-08-11 05:52:56
ivan Exp $ -->
+#<!-- $Id: cust_main.cgi,v 1.
4 2001-08-13 23:15:35
ivan Exp $ -->
use strict;
use vars qw ( $cgi $query $custnum $cust_main $hashref $agent $referral
use strict;
use vars qw ( $cgi $query $custnum $cust_main $hashref $agent $referral
@@
-210,7
+210,9
@@
print '<BR>';
print '</TD></TR></TABLE>';
print '</TD></TR></TABLE>';
-if ( defined $cust_main->dbdef_table->column('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>', $cust_main->comments,