diff options
| author | ivan <ivan> | 2008-01-13 21:36:09 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-01-13 21:36:09 +0000 |
| commit | 2bee469e81f4963d83b9bf020c817dcb436a6a80 (patch) | |
| tree | d3509afb4a827279a50241a7f065e0d3481052f8 /httemplate/edit/cust_pay.cgi | |
| parent | 97e6cec67c0c99ce1b6f0667a09f1e009100189d (diff) | |
ACLs
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'); |
