[aur-dev] [PATCH] Remove superfluous close tags

Marcel Korpel marcel.korpel at gmail.com
Wed Jul 8 01:36:05 UTC 2015


These are already output by html_action_link.
---
 web/template/pkgbase_actions.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/web/template/pkgbase_actions.php b/web/template/pkgbase_actions.php
index 61ad18f..c7428ee 100644
--- a/web/template/pkgbase_actions.php
+++ b/web/template/pkgbase_actions.php
@@ -28,15 +28,15 @@
 			<?php endif; ?>
 
 			<?php if (has_credential(CRED_PKGBASE_EDIT_COMAINTAINERS, array($row["MaintainerUID"]))): ?>
-			<li><?= html_action_link($base_uri . 'comaintainers/', __('Manage Co-Maintainers')) ?></a></li>
+			<li><?= html_action_link($base_uri . 'comaintainers/', __('Manage Co-Maintainers')) ?></li>
 			<?php endif; ?>
 
 			<li><span class="flagged"><?php if ($row["RequestCount"] > 0) { echo _n('%d pending request', '%d pending requests', $row["RequestCount"]); } ?></span></li>
-			<li><?= html_action_link($base_uri . 'request/', __('File Request')) ?></a></li>
+			<li><?= html_action_link($base_uri . 'request/', __('File Request')) ?></li>
 
 			<?php if (has_credential(CRED_PKGBASE_DELETE)): ?>
-			<li><?= html_action_link($base_uri . 'delete/', __('Delete Package')) ?></a></li>
-			<li><?= html_action_link($base_uri . 'merge/', __('Merge Package')) ?></a></li>
+			<li><?= html_action_link($base_uri . 'delete/', __('Delete Package')) ?></li>
+			<li><?= html_action_link($base_uri . 'merge/', __('Merge Package')) ?></li>
 			<?php endif; ?>
 
 			<?php if ($uid && $row["MaintainerUID"] === NULL): ?>
-- 
2.4.5


More information about the aur-dev mailing list