projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243a197
)
don't bother displaying comments that are only whitespace/newlines
author
ivan
<ivan>
Sun, 6 Jul 2003 18:58:57 +0000
(18:58 +0000)
committer
ivan
<ivan>
Sun, 6 Jul 2003 18:58:57 +0000
(18:58 +0000)
httemplate/view/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main.cgi
b/httemplate/view/cust_main.cgi
index
4fe60fe
..
c36c9e2
100755
(executable)
--- a/
httemplate/view/cust_main.cgi
+++ b/
httemplate/view/cust_main.cgi
@@
-290,7
+290,7
@@
if ( $conf->config('payby-default') ne 'HIDE' ) {
print '</TD></TR></TABLE>';
if ( defined $cust_main->dbdef_table->column('comments')
- && $cust_main->comments )
+ && $cust_main->comments
=~ /[^\s\n\r]/
)
{
print "<BR>Comments". &ntable("#cccccc"). "<TR><TD>".
&ntable("#cccccc",2).