From: levinse Date: Thu, 2 Jun 2011 05:07:39 +0000 (+0000) Subject: fix regression in view/cust_main/contacts.html, RT13094 X-Git-Tag: freeside_2_1_3~184 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=549ea5ca46ce948b5de2653404e72ab72b541272;p=freeside.git fix regression in view/cust_main/contacts.html, RT13094 --- 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');