summaryrefslogtreecommitdiff
path: root/httemplate/misc/order_pkg.html
diff options
context:
space:
mode:
authorivan <ivan>2008-01-13 21:08:27 +0000
committerivan <ivan>2008-01-13 21:08:27 +0000
commit2d53d2ebdce80d0f0dc7f75ccf506a06c2f852f9 (patch)
tree4f9f63364374cb63729bf393de6f7780ff708202 /httemplate/misc/order_pkg.html
parentfdbdabb698b904cfb8cdc8befb87a76aa71642e9 (diff)
ACLs
Diffstat (limited to 'httemplate/misc/order_pkg.html')
-rw-r--r--httemplate/misc/order_pkg.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index a49404bb8..05cd99cc5 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -41,8 +41,13 @@ function enable_order_pkg () {
<INPUT NAME="submit" TYPE="submit" VALUE="Order Package" disabled>
</FORM>
+</BODY>
+</HTML>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Order customer package');
+
my $conf = new FS::Conf;
my($query) = $cgi->keywords;