aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index 28e11e3e3..3b4753587 100644
--- a/picture.php
+++ b/picture.php
@@ -309,6 +309,8 @@ UPDATE '.CATEGORIES_TABLE.'
}
case 'delete_comment' :
{
+ check_pwg_token();
+
if (isset($_GET['comment_to_delete'])
and is_numeric($_GET['comment_to_delete'])
and is_admin() and !is_adviser() )