[freeside-commits] branch master updated. 206b339a530130306e65d05cff1bbe87eab4df1b

Ivan ivan at 420.am
Fri Feb 1 00:04:23 PST 2013


The branch, master has been updated
       via  206b339a530130306e65d05cff1bbe87eab4df1b (commit)
      from  a15834aba232f1b6239645053107766e30398c94 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 206b339a530130306e65d05cff1bbe87eab4df1b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 1 00:04:22 2013 -0800

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

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/report_svc_acct.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list