From 61955b7dfe1810c9b1720c963ff43516d28a714f Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 1 Jul 2009 21:04:23 +0000 Subject: - correct mysql error (while updating user comment) git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_comment.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/functions_comment.inc.php') diff --git a/include/functions_comment.inc.php b/include/functions_comment.inc.php index 4d004589b..9ebe2e317 100644 --- a/include/functions_comment.inc.php +++ b/include/functions_comment.inc.php @@ -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', -- cgit v1.2.3