mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
bug:2152 no special parameter for updated comment validation
git-svn-id: http://piwigo.org/svn/trunk@10122 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
f63153073f
commit
2f344407a9
9 changed files with 83 additions and 56 deletions
|
@ -265,7 +265,7 @@ function update_user_comment($comment, $post_key)
|
|||
}
|
||||
|
||||
// should the updated comment must be validated
|
||||
if (!$conf['comments_update_validation'] or is_admin())
|
||||
if (!$conf['comments_validation'] or is_admin())
|
||||
{
|
||||
$comment_action='validate'; //one of validate, moderate, reject
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue