From 206b339a530130306e65d05cff1bbe87eab4df1b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 1 Feb 2013 00:04:22 -0800 Subject: [PATCH] fix double escaping of customer name in title of customer-specific account report --- httemplate/search/report_svc_acct.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/search/report_svc_acct.html b/httemplate/search/report_svc_acct.html index 74bf5538e..e47f72726 100755 --- a/httemplate/search/report_svc_acct.html +++ b/httemplate/search/report_svc_acct.html @@ -116,7 +116,7 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Services: Accounts: Advanced search'); #? -my $title = emt('Account Report'); +my $title = mt('Account Report'); #false laziness w/report_cust_pkg.html my $custnum = ''; @@ -127,7 +127,7 @@ if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { 'hashref' => { 'custnum' => $custnum }, 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, }) or die "unknown custnum $custnum"; - $title = emt("Account Report: [_1]", $cust_main->name); + $title = mt("Account Report: [_1]", $cust_main->name); } -- 2.11.0