diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 0bb5dde6..3926d79d 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -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); } }