fix display of contacts on customer basics tab, #25536
authorMark Wells <mark@freeside.biz>
Sun, 29 Nov 2015 01:24:47 +0000 (17:24 -0800)
committerMark Wells <mark@freeside.biz>
Sun, 29 Nov 2015 01:24:47 +0000 (17:24 -0800)
httemplate/view/cust_main/contacts_new.html

index d55ee3d..a0dd301 100644 (file)
@@ -78,7 +78,6 @@ my @cust_contacts = $cust_main->cust_contact;
 
 # residential customers have a default "invisible" contact, but if they
 # somehow get more than one contact, show them
-my $display = (length($cust_main->residential_commercial) > 0)
-              or ( scalar(@cust_contacts) > 1 );
+my $display = scalar(@cust_contacts) > 1;
 
 </%init>