diff options
Diffstat (limited to 'web/html/voters.php')
-rw-r--r-- | web/html/voters.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/html/voters.php b/web/html/voters.php index bbcf547c..8766fa73 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -6,11 +6,10 @@ include_once('pkgfuncs.inc.php'); $SID = $_COOKIE['AURSID']; $pkgname = htmlspecialchars($_GET['N']); $votes = pkgbase_votes_from_name($pkgname); -$atype = account_from_sid($SID); html_header(__("Voters")); -if ($atype == 'Trusted User' || $atype== 'Developer'): +if (has_credential(CRED_PKGBASE_LIST_VOTERS)): ?> <div class="box"> |