summaryrefslogtreecommitdiffstats
path: root/web/html/pkgreq.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgreq.php')
-rw-r--r--web/html/pkgreq.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php
index 2b46b02b..d7a4354f 100644
--- a/web/html/pkgreq.php
+++ b/web/html/pkgreq.php
@@ -10,12 +10,12 @@ check_sid();
html_header(__("File Request"));
-if (!check_user_privileges()) {
- header('Location: /');
- exit();
-}
-
if (!isset($base_id)) {
+ if (!check_user_privileges()) {
+ header('Location: /');
+ exit();
+ }
+
$results = pkgbase_request_list();
$total = count($results);