diff options
Diffstat (limited to 'httemplate/edit/cust_pay.cgi')
-rwxr-xr-x | httemplate/edit/cust_pay.cgi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index aaa200fc4..92abb7be8 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -86,6 +86,7 @@ Payment </HTML> <%once> + my $conf = new FS::Conf; my %payby = ( @@ -96,9 +97,13 @@ my %payby = ( ); my $money_char = $conf->config('money_char') || '$'; -</%once> +</%once> <%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Post payment'); + my($link, $linknum, $paid, $payby, $payinfo, $_date); if ( $cgi->param('error') ) { $link = $cgi->param('link'); |