mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user