[remove extraneous punctuation]
authorIvan Kohler <ivan@freeside.biz>
Tue, 22 May 2012 02:07:04 +0000 (19:07 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 22 May 2012 02:07:04 +0000 (19:07 -0700)
httemplate/edit/cust_pay.cgi
httemplate/edit/process/cust_pay.cgi

index f0826f6..d4414e4 100755 (executable)
@@ -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>
index 8664883..ce0ec32 100755 (executable)
@@ -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 {