- correct mysql error (while updating user comment)
git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4fa8d36ed5
commit
61955b7dfe
1 changed files with 2 additions and 1 deletions
|
@ -267,6 +267,7 @@ function update_user_comment($comment, $post_key)
|
|||
$comment_action='reject';
|
||||
}
|
||||
|
||||
/* ? this is a MySql Error - author_id is not defined
|
||||
if ($comment_action!='reject' and $conf['anti-flood_time']>0 )
|
||||
{ // anti-flood system
|
||||
$reference_date = time() - $conf['anti-flood_time'];
|
||||
|
@ -280,7 +281,7 @@ SELECT id FROM '.COMMENTS_TABLE.'
|
|||
$comment_action='reject';
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
// perform more spam check
|
||||
$comment_action =
|
||||
trigger_event('user_comment_check',
|
||||
|
|
Loading…
Reference in a new issue