aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 8aa5e9ffb..ecaee0caa 100644
--- a/picture.php
+++ b/picture.php
@@ -366,7 +366,7 @@ UPDATE '.CATEGORIES_TABLE.'
check_input_parameter('comment_to_validate', $_GET, false, PATTERN_ID);
- $author_id = get_comment_author_id($_GET['comment_to_delete']);
+ $author_id = get_comment_author_id($_GET['comment_to_validate']);
if (can_manage_comment('validate', $author_id))
{