summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-08-10 03:15:47 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-08-23 22:47:49 +0200
commitcac3ef74cb77e2db07a2f7a8b13b34c7d07f2720 (patch)
treedd218b55e4e06f8d7d70df8fbc7f57527b2cb0e0
parent4cf075811c3cc12ab3192d13fb0a58614c975c03 (diff)
downloadaur-cac3ef74cb77e2db07a2f7a8b13b34c7d07f2720.tar.gz
aur-cac3ef74cb77e2db07a2f7a8b13b34c7d07f2720.tar.xz
pkg_details.php: Fix broken HTML for package page with no dependencies
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@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-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 67cb5d18..da173ec1 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): ?>