diff options
Diffstat (limited to 'web/html/voters.php')
-rw-r--r-- | web/html/voters.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/voters.php b/web/html/voters.php index 8766fa7..b0753b9 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -1,11 +1,11 @@ <?php set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include_once('aur.inc.php'); -include_once('pkgfuncs.inc.php'); +include_once('pkgbasefuncs.inc.php'); $SID = $_COOKIE['AURSID']; -$pkgname = htmlspecialchars($_GET['N']); -$votes = pkgbase_votes_from_name($pkgname); +$pkgbase_name = htmlspecialchars($_GET['N']); +$votes = pkgbase_votes_from_name($pkgbase_name); html_header(__("Voters")); @@ -13,7 +13,7 @@ if (has_credential(CRED_PKGBASE_LIST_VOTERS)): ?> <div class="box"> - <h2>Votes for <a href="<?= get_pkg_uri($pkgname); ?>"><?= $pkgname ?></a></h2> + <h2>Votes for <a href="<?= get_pkgbase_uri($pkgbase_name); ?>"><?= $pkgbase_name ?></a></h2> <div class="boxbody"> <ul> <?php while (list($indx, $row) = each($votes)): ?> |