From 1c71ab4b81802a8ee9074917306d35a582349766 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 21 May 2012 19:07:04 -0700 Subject: [PATCH] [remove extraneous punctuation] --- httemplate/edit/cust_pay.cgi | 2 +- httemplate/edit/process/cust_pay.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index f0826f652..d4414e44e 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') ) { <% mt('Date') |h %> diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi index 8664883c1..ce0ec3212 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 { -- 2.11.0