This commit was manufactured by cvs2svn to create branch
[freeside.git] / httemplate / view / cust_main.cgi
index 01ad573..3b6fc9a 100755 (executable)
@@ -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).