aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-04-02 20:49:46 +0000
committerrvelices <rv-github@modusoptimus.com>2012-04-02 20:49:46 +0000
commit9c06bb55645c314541fdcff9e9611b38ca0694ac (patch)
treef1a544171c581cceaedd91b8a73c22ab17516541 /include
parent9c6f27c0e127ba1d54435ade0045c591da0de65a (diff)
- 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
Diffstat (limited to 'include')
-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())