summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-11-28 17:24:47 -0800
committerMark Wells <mark@freeside.biz>2015-11-28 17:24:47 -0800
commit604fb57656811244bd8a848170fce44fa8d7c946 (patch)
treef88da80c9f9bbe1c11f0aa98306d8de61874e125 /httemplate
parent0b07c1da9b37ce82bf505f0a860bb0693cedb264 (diff)
fix display of contacts on customer basics tab, #25536
Diffstat (limited to 'httemplate')
-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>