summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-11-28 17:24:47 -0800
committerMark Wells <mark@freeside.biz>2015-11-30 15:45:28 -0800
commit318f5f84e954d09f7dea2ab98793e812820bef48 (patch)
tree9b1c70e32a532dc9b6af5210dfadec4a9bb0756c
parentd1025e8f571644fadeb476f8ec631c4ba7501c85 (diff)
fix display of contacts on customer basics tab, #25536
-rw-r--r--httemplate/view/cust_main/contacts_new.html3
1 files changed, 1 insertions, 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;
</%init>