summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_pay.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_pay.html')
-rw-r--r--httemplate/view/cust_pay.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_pay.html b/httemplate/view/cust_pay.html
index 4037d3525..2e2344d40 100644
--- a/httemplate/view/cust_pay.html
+++ b/httemplate/view/cust_pay.html
@@ -101,7 +101,8 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('View customer payments');
+ unless $curuser->access_right('View invoices') #remove this in 1.9 EVENTUALLY
+ || $curuser->access_right('View customer payments');
$cgi->param('paynum') =~ /^(\d+)$/ or die "no paynum";
my $paynum = $1;