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> --- 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