aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-04 21:05:28 +0000
committermistic100 <mistic@piwigo.org>2011-06-04 21:05:28 +0000
commit79823554024abf506ca36d5ad658be305acd9161 (patch)
treec2110e8fb0dcf108eb21ed606fbe9f4b68046ce1 /comments.php
parent3d3721b84367fa3f4745b98e39fd342047a5f881 (diff)
transmit comment ID to template on comments and picture_comment
git-svn-id: http://piwigo.org/svn/trunk@11236 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/comments.php b/comments.php
index 3acef27bc..2a0a18e01 100644
--- a/comments.php
+++ b/comments.php
@@ -462,6 +462,7 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id
);
$tpl_comment = array(
+ 'ID' => $comment_id,
'U_PICTURE' => $url,
'TN_SRC' => $thumbnail_src,
'ALT' => $name,