Signed-off-by: Marcel Korpel <[email protected]>
---
Change since v3:
* Don't merge multiple statements in one PHP block.

 web/template/pkg_comments.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 26fddfd..bb006b9 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -63,12 +63,10 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
                        </p>
                </div>
        <?php endwhile; ?>
-</div>
 
 <?php if ($count > 10 && !isset($_GET['comments'])): ?>
-<div id="news">
        <h3>
                <a href="<?= htmlentities(get_pkgbase_uri($pkgbase_name), 
ENT_QUOTES) . '?' . mkurl('comments=all') ?>" title="<?= __('View all 
comments') ?> (<?= $count ?>)"><?= __('All comments', $count) ?></a>
        </h3>
-</div>
 <?php endif; ?>
+</div>
-- 
2.4.6

Reply via email to