aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-07 19:13:02 +0000
committermistic100 <mistic@piwigo.org>2011-06-07 19:13:02 +0000
commit901dfaecb6b028715207e03d53d02fbd16bd8d1d (patch)
tree2942ae500bd26d61a2c2597b65dce295f0e53a3a /comments.php
parentbd6db4c873fac34b8d1712267da506831f684c4b (diff)
bug:2328 wrong variable given
git-svn-id: http://piwigo.org/svn/trunk@11261 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/comments.php b/comments.php
index 2a0a18e01..a4bd8ecf8 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,