aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/comments.php b/comments.php
index 78f3d011d..25a0084bc 100644
--- a/comments.php
+++ b/comments.php
@@ -504,7 +504,7 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id
if (isset($edit_comment) and ($comment['comment_id'] == $edit_comment))
{
$tpl_comment['IN_EDIT'] = true;
- $key = get_comment_post_key($comment['image_id']);
+ $key = get_ephemeral_key(2, $comment['image_id']);
$tpl_comment['KEY'] = $key;
$tpl_comment['IMAGE_ID'] = $comment['image_id'];
$tpl_comment['CONTENT'] = $comment['content'];