summaryrefslogtreecommitdiff
path: root/httemplate/edit/quick-charge.html
diff options
context:
space:
mode:
authorivan <ivan>2008-01-13 21:36:09 +0000
committerivan <ivan>2008-01-13 21:36:09 +0000
commit2bee469e81f4963d83b9bf020c817dcb436a6a80 (patch)
treed3509afb4a827279a50241a7f065e0d3481052f8 /httemplate/edit/quick-charge.html
parent97e6cec67c0c99ce1b6f0667a09f1e009100189d (diff)
ACLs
Diffstat (limited to 'httemplate/edit/quick-charge.html')
-rw-r--r--httemplate/edit/quick-charge.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 92e0ae753..e8df37103 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -163,6 +163,9 @@ function validate_quick_charge () {
</HTML>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('One-time charge');
+
$cgi->param('custnum') =~ /^(\d+)$/ or die 'illegal custnum';
my $custnum = $1;