summaryrefslogtreecommitdiff
path: root/httemplate/misc/order_pkg.html
diff options
context:
space:
mode:
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;