diff options
author | mistic100 <mistic@piwigo.org> | 2011-06-04 21:05:28 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-06-04 21:05:28 +0000 |
commit | 79823554024abf506ca36d5ad658be305acd9161 (patch) | |
tree | c2110e8fb0dcf108eb21ed606fbe9f4b68046ce1 /include | |
parent | 3d3721b84367fa3f4745b98e39fd342047a5f881 (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 'include')
-rw-r--r-- | include/picture_comment.inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index e40a11f09..ec92594e8 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -167,10 +167,9 @@ SELECT $tpl_comment = array( + 'ID' => $row['id'], 'AUTHOR' => trigger_event('render_comment_author', $author), - - 'DATE' => format_date( $row['date'], true), - + 'DATE' => format_date($row['date'], true), 'CONTENT' => trigger_event('render_comment_content',$row['content']), ); |