diff options
author | ivan <ivan> | 2003-07-06 18:59:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-07-06 18:59:04 +0000 |
commit | 6d1f1b8b81819fbfba216612709f116c44d2b082 (patch) | |
tree | 693350760ef8bb5d2c99bd85c19927799c882fb7 | |
parent | 7e2ff369868d99e40c7693d7d425f7e17393991a (diff) |
don't bother displaying comments that are only whitespace/newlines
-rwxr-xr-x | httemplate/view/cust_main.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 01ad57373..3b6fc9adf 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -277,7 +277,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). |