[aur-dev] [PATCH] Fix link to package base voters

Lukas Fleischer archlinux at cryptocrack.de
Wed Jan 7 16:34:18 UTC 2015


Reported-by: Bartłomiej Piotrowski <b at bpiotrowski.pl>
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/template/pkg_details.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 359ea3c..52afba2 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -324,7 +324,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; ?>
-- 
2.2.1


More information about the aur-dev mailing list