From: Ivan Kohler Date: Fri, 1 Feb 2013 08:04:22 +0000 (-0800) Subject: fix double escaping of customer name in title of customer-specific account report X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=206b339a530130306e65d05cff1bbe87eab4df1b fix double escaping of customer name in title of customer-specific account report --- 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); }