aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/picture_comment.inc.php')
-rw-r--r--include/picture_comment.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index 2e5c0d518..b6680aaf8 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -198,7 +198,6 @@ SELECT
array(
'action'=>'edit_comment',
'comment_to_edit'=>$row['id'],
- 'pwg_token' => get_pwg_token(),
)
);
if (isset($edit_comment) and ($row['id'] == $edit_comment))
@@ -207,6 +206,7 @@ SELECT
$key = get_ephemeral_key(2, $page['image_id']);
$tpl_comment['KEY'] = $key;
$tpl_comment['CONTENT'] = $row['content'];
+ $tpl_comment['PWG_TOKEN'] = get_pwg_token();
}
}
if (is_admin())