summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2015-01-07 17:33:50 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2015-01-07 17:35:46 +0100
commit80ef14caa844925f5a9498edf80e9f9c48eac1a8 (patch)
tree02e6f834a8e30d62d2dbed422684c8f09f514cc2 /web/template/pkg_details.php
parentf55e3c21c6a6ab01bd94c90a8910c44b7596660a (diff)
downloadaurweb-80ef14caa844925f5a9498edf80e9f9c48eac1a8.tar.xz
Fix link to package base voters
Reported-by: Bartłomiej Piotrowski <b@bpiotrowski.pl> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index a8a0b3e..b0ceb8c 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -310,7 +310,7 @@ if (has_credential(CRED_PKGBASE_CHANGE_CATEGORY, array($row["MaintainerUID"]))):
<tr>
<th><?= __('Votes') . ': ' ?></th>
<?php if (has_credential(CRED_PKGBASE_LIST_VOTERS)): ?>
- <td><a href="<?= get_pkgbase_uri($row['Name']); ?>voters/"><?= $votes ?></a></td>
+ <td><a href="<?= get_pkgbase_uri($row['BaseName']); ?>voters/"><?= $votes ?></a></td>
<?php else: ?>
<td><?= $votes ?></td>
<?php endif; ?>