diff options
author | rvelices <rv-github@modusoptimus.com> | 2009-07-01 21:04:23 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2009-07-01 21:04:23 +0000 |
commit | 61955b7dfe1810c9b1720c963ff43516d28a714f (patch) | |
tree | b12eb1b74a090da01b6179301d7544793c445332 /include | |
parent | 4fa8d36ed5beaf7125083ec65b355f09a92621c2 (diff) |
- correct mysql error (while updating user comment)
git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_comment.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
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', |