Skip to content
Browse files

changed from using mode method to model attribute (less restrictive i…

…n case of error)
  • Loading branch information...
1 parent 943f172 commit 8eca7745f6e625d7d9704a5d0f9ec738d5071a97 @aross aross committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/comment.rb
2 app/models/comment.rb
@@ -49,7 +49,7 @@ def author_email
def is_spam?
- self.spam? and !defensio_sig.blank?
+ (spam == true) and !defensio_sig.blank?
def score_count_sum

0 comments on commit 8eca774

Please sign in to comment.
Something went wrong with that request. Please try again.