From 901dfaecb6b028715207e03d53d02fbd16bd8d1d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 7 Jun 2011 19:13:02 +0000 Subject: bug:2328 wrong variable given git-svn-id: http://piwigo.org/svn/trunk@11261 68402e56-0260-453c-a942-63ccdbb3a9ee --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comments.php') 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, -- cgit v1.2.3