From d8ec9b9fdd6fb5a29e762ecd95d440f8942ca382 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 30 Oct 2010 11:32:11 +0000 Subject: feature 1915: add protection on user registration against robots git-svn-id: http://piwigo.org/svn/trunk@7495 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 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']; -- cgit v1.2.3