[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 38653b6cddc970f630790e0bf9f33cf9b17b69bc

Ivan ivan at 420.am
Mon May 21 19:07:10 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  38653b6cddc970f630790e0bf9f33cf9b17b69bc (commit)
      from  27b6c1f10411eb95abec60d6e14a8a63b279cabd (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 38653b6cddc970f630790e0bf9f33cf9b17b69bc
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 21 19:07:07 2012 -0700

    [remove extraneous punctuation]

diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index f0826f6..d4414e4 100755
--- a/httemplate/edit/cust_pay.cgi
+++ b/httemplate/edit/cust_pay.cgi
@@ -23,7 +23,7 @@
 <% mt('Payment') |h %> 
 <% ntable("#cccccc", 2) %>
 
-% if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) {
+% if ( $FS::CurrentUser::CurrentUser->access_right('Backdate payment') ) {
 <TR>
   <TD ALIGN="right"><% mt('Date') |h %></TD>
   <TD COLSPAN=2>
diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi
index 8664883..ce0ec32 100755
--- a/httemplate/edit/process/cust_pay.cgi
+++ b/httemplate/edit/process/cust_pay.cgi
@@ -40,7 +40,7 @@ my $field = my $link = $1;
 $field = 'custnum' if $field eq 'popup';
 
 my $_date;
-if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) {
+if ( $FS::CurrentUser::CurrentUser->access_right('Backdate payment') ) {
   $_date = parse_datetime($cgi->param('_date'));
 }
 else {

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

Summary of changes:
 httemplate/edit/cust_pay.cgi         |    2 +-
 httemplate/edit/process/cust_pay.cgi |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list