diff options
author | ivan <ivan> | 2008-03-27 20:19:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-27 20:19:52 +0000 |
commit | 8d029daaa89e10b9a3e320cccfaad14714e19581 (patch) | |
tree | 4dad77ed2be286b953ef10d3cfebf1d8c704a694 /httemplate/view/cust_pay.html | |
parent | 1783fdb03ace7f8bc0b5236d1b3cd842753fd16d (diff) |
resolve minor ACL glitch linking to payments
Diffstat (limited to 'httemplate/view/cust_pay.html')
-rw-r--r-- | httemplate/view/cust_pay.html | 3 |
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; |