summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-08-02 07:05:19 +0200
committerpjmattal <pjmattal>2005-08-02 07:05:19 +0200
commit702abe64bc84c9d9823a8d064837701aeb9fa068 (patch)
tree26a4c79bc970bf29d69210fed6f614bfde782258
parenta4d583179c29cd03389bd6e3e4f89fae375bf5d4 (diff)
downloadaur-702abe64bc84c9d9823a8d064837701aeb9fa068.tar.gz
aur-702abe64bc84c9d9823a8d064837701aeb9fa068.tar.xz
fixed bug #2994 (extraneous comment delete buttons mapping to wrong comments)
-rw-r--r--web/lib/pkgfuncs.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index e355c47a..438039a5 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -481,8 +481,9 @@ function package_details($id=0, $SID="") {
$durl.= "&comment_id=".$carr["ID"]."&ID=".$row["ID"];
$durl.= "'><img src='/images/x.png' border='0'";
$durl.= " alt=\"".__("Delete comment")."\"></a>";
+
+ print $durl . "&nbsp;&nbsp;";
}
- print $durl . "&nbsp;&nbsp;";
print __("Comment by: %h%s%h on %h%s%h",
array("<b>",$carr["UserName"],"</b>",
"<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));