From 80067101ca8bf487e3adc77b5405a9bdac0db71b Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 4 Apr 2010 22:46:56 +0000 Subject: [PATCH] bug 1565 fixed: ability to validate a user comment from the picture page (copy/past typo fixed) git-svn-id: http://piwigo.org/svn/trunk@5653 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {