diff options
author | ivan <ivan> | 2003-07-06 18:58:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-07-06 18:58:57 +0000 |
commit | a73084513b067a4d85d272970c43fba5d485b920 (patch) | |
tree | 350a51f035cb640f82ea720c2ef9547f49d1d961 | |
parent | 243a197e349180c5ce181ba0771d316b423597eb (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 4fe60fe79..c36c9e265 100755 --- 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). |