From 9c06bb55645c314541fdcff9e9611b38ca0694ac Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 2 Apr 2012 20:49:46 +0000 Subject: - comment edit form looks ok now with the new comment layout - removed unused css / simplify it - simplified jquery drop boxes ... git-svn-id: http://piwigo.org/svn/trunk@13865 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_comment.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/picture_comment.inc.php') 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()) -- cgit v1.2.3