feature 1915: add protection on user registration against robots
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
6f841013d9
commit
d8ec9b9fdd
7 changed files with 51 additions and 40 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue