From: Mark Wells Date: Sun, 29 Nov 2015 01:24:47 +0000 (-0800) Subject: fix display of contacts on customer basics tab, #25536 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=318f5f84e954d09f7dea2ab98793e812820bef48;p=freeside.git fix display of contacts on customer basics tab, #25536 --- diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html index d55ee3dc3..a0dd30125 100644 --- a/httemplate/view/cust_main/contacts_new.html +++ b/httemplate/view/cust_main/contacts_new.html @@ -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;