aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-04 22:46:56 +0000
committerplegall <plg@piwigo.org>2010-04-04 22:46:56 +0000
commit80067101ca8bf487e3adc77b5405a9bdac0db71b (patch)
tree7964a85b41e8158cf9d067df619bdcbfe01875b9
parentba86c73646e099e957e70230fe485533afb52976 (diff)
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
Diffstat (limited to '')
-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))
{