fix double escaping of customer name in title of customer-specific account report
authorIvan Kohler <ivan@freeside.biz>
Fri, 1 Feb 2013 08:04:22 +0000 (00:04 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 1 Feb 2013 08:04:22 +0000 (00:04 -0800)
httemplate/search/report_svc_acct.html

index 74bf553..e47f727 100755 (executable)
 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);
 }
 
 </%init>