Commit b3a6809b authored by Mark Weiman's avatar Mark Weiman Committed by Lukas Fleischer
Browse files

Fix duplicate ids from pinned comments

Fixed duplicate ids caused from pinned comments introduced in 7d4c0c9f

(Implement capability to pin comments above others, 2015-12-12).
Signed-off-by: default avatarMark Weiman <>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent bd85441c
......@@ -51,7 +51,7 @@ if (!isset($count)) {
$heading .= ')</span>';
<h4 id="comment-<?= $row['ID'] ?>"<?php if ($is_deleted): ?> class="comment-deleted"<?php endif; ?>>
<h4 id="<?= isset($pinned) ? "pinned-" : "comment-" ?><?= $row['ID'] ?>"<?php if ($is_deleted): ?> class="comment-deleted"<?php endif; ?>>
<?= $heading ?>
<?php if ($is_deleted && has_credential(CRED_COMMENT_UNDELETE)): ?>
<form class="undelete-comment-form" method="post" action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES); ?>">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment