aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-07 19:16:16 +0000
committermistic100 <mistic@piwigo.org>2011-06-07 19:16:16 +0000
commitb2cff9bc2f6c4084a68631efbc6e05c882015780 (patch)
tree6be73102e954ae75cb5dc5a9f68bd32b9058148a
parent910de8726840f37941cdef558d9121b0e946949f (diff)
merge r11261 from trunk
bug:2328 wrong variable given git-svn-id: http://piwigo.org/svn/branches/2.2@11263 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/comments.php b/comments.php
index 27bc4975a..86e097c1b 100644
--- a/comments.php
+++ b/comments.php
@@ -462,7 +462,7 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id
);
$tpl_comment = array(
- 'ID' => $comment_id,
+ 'ID' => $comment['comment_id'],
'U_PICTURE' => $url,
'TN_SRC' => $thumbnail_src,
'ALT' => $name,