From 093eeb256465d13714e83f89c05f7bab629ae79f Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 17 Dec 2009 23:00:09 +0000 Subject: bug 1328: implements check_pwg_token for comment deletion on picture.php git-svn-id: http://piwigo.org/svn/branches/2.0@4509 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_comment.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/picture_comment.inc.php') diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index 73b245b6b..af14cb050 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -149,7 +149,8 @@ SELECT id,author,date,image_id,content $url_self, array( 'action'=>'delete_comment', - 'comment_to_delete'=>$row['id'] + 'comment_to_delete'=>$row['id'], + 'pwg_token'=>get_pwg_token(), ) ); } -- cgit v1.2.3