From 549ea5ca46ce948b5de2653404e72ab72b541272 Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 2 Jun 2011 05:07:39 +0000 Subject: [PATCH] fix regression in view/cust_main/contacts.html, RT13094 --- httemplate/view/cust_main/contacts.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 494012e39..63f33b6bd 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -19,9 +19,9 @@ % if ( $conf->exists('cust-email-high-visibility') && $which eq '') { - <% mt('Email invoices') |h %> + Email invoices - <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> + <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || 'no' %> % } @@ -126,7 +126,6 @@ my $stateid_state_label = FS::Msgcat::_gettext('stateid_state') =~ /^(stateid_st my( $cust_main ) = @_; my $conf = new FS::Conf; my @invoicing_list = $cust_main->invoicing_list; -my $no = emt('no'); -- 2.11.0