summaryrefslogtreecommitdiff
path: root/web/html/pkgreq.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgreq.php')
-rw-r--r--web/html/pkgreq.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php
index 9dec1f6..03b31b8 100644
--- a/web/html/pkgreq.php
+++ b/web/html/pkgreq.php
@@ -16,7 +16,7 @@ if (isset($base_id)) {
$pkgbase_name = pkgreq_get_pkgbase_name($pkgreq_id);
include('pkgreq_close_form.php');
} else {
- if (!check_user_privileges()) {
+ if (!has_credential(CRED_PKGREQ_LIST)) {
header('Location: /');
exit();
}