From 604fb57656811244bd8a848170fce44fa8d7c946 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Sat, 28 Nov 2015 17:24:47 -0800 Subject: [PATCH] fix display of contacts on customer basics tab, #25536 --- httemplate/view/cust_main/contacts_new.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.11.0