summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_pay.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/cust_pay.cgi')
-rwxr-xr-xhttemplate/edit/process/cust_pay.cgi2
1 files changed, 1 insertions, 1 deletions
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 {