Permalink
Browse files

dont email when score is low

  • Loading branch information...
dogmatic69 committed Jul 22, 2013
1 parent eeb8174 commit 86085a05b11ae1b22039577536cda980077c9df8
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/Comments/Lib/CommentsEvents.php
@@ -163,7 +163,7 @@ public function onUserProfile(Event $Event, array $user) {
* @param array $comment
*/
public function onNewCommentSaved(Event $Event, array $comment) {
if (!$comment['active']) {
if (!$comment['active'] || $comment['points'] < 0) {
return false;
}

0 comments on commit 86085a0

Please sign in to comment.