Update functions_comments.inc.php
This commit is contained in:
parent
b043b45a1e
commit
7116e167fe
@ -874,7 +874,7 @@ function serendipity_insertComment($id, $commentInfo, $type = 'NORMAL', $source
|
||||
if ($status != 'confirm' && (serendipity_db_bool($ca['moderate_comments'])
|
||||
|| ($type == 'NORMAL' && serendipity_db_bool($row['mail_comments']))
|
||||
|| (($type == 'TRACKBACK' || $type == 'PINGBACK') && serendipity_db_bool($row['mail_trackbacks'])))) {
|
||||
if(!$backend && $email != $row['email']){
|
||||
if (! ($backend && $email == $row['email'])) {
|
||||
serendipity_sendComment($cid, $row['email'], $name, $email, $url, $id, $row['title'], $comments, $type, serendipity_db_bool($ca['moderate_comments']), $referer);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user