Changeset 13800 for trunk/include/functions_comment.inc.php
- Timestamp:
- Mar 29, 2012, 8:48:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_comment.inc.php
r12922 r13800 48 48 49 49 if ( $link_count>$conf['comment_spam_max_links'] ) 50 { 51 $_POST['cr'][] = 'links'; 50 52 return $my_action; 51 53 } 52 54 return $action; 53 55 } … … 123 125 { 124 126 $comment_action='reject'; 127 $_POST['cr'][] = 'key'; // rvelices: I use this outside to see how spam robots work 125 128 } 126 129 … … 166 169 $comm['id'] = pwg_db_insert_id(COMMENTS_TABLE); 167 170 168 if ( $conf['email_admin_on_comment']171 if ( ($conf['email_admin_on_comment'] && 'validate' == $comment_action) 169 172 or ($conf['email_admin_on_comment_validation'] and 'moderate' == $comment_action)) 170 173 {
Note: See TracChangeset
for help on using the changeset viewer.