[aur-dev] [PATCH 2/8] pkg_details.php: Fix broken HTML for package page with no dependencies

canyonknight canyonknight at gmail.com
Thu Aug 9 21:15:47 EDT 2012


The "Required by" column already handles an empty list appropriately. Move a
</div> tag to match that behavior in the "Dependencies" column

Signed-off-by: canyonknight <canyonknight at gmail.com>
---
 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 67cb5d1..da173ec 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -179,8 +179,8 @@ if ($row["MaintainerUID"]):
 		<?php endif; ?>
 	<?php endwhile; ?>
 			</ul>
-		</div>
 <?php endif; ?>
+		</div>
 		<div id="pkgreqs" class="listing">
 			<h3><?php echo __('Required by') . " (" . count($requiredby) . ")"?></h3>
 <?php if (count($requiredby) > 0): ?>
-- 
1.7.11.4



More information about the aur-dev mailing list