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
This commit is contained in:
plegall 2010-04-04 22:46:56 +00:00
parent ba86c73646
commit 80067101ca

View file

@ -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))
{