Commit bb860a2ce2778aa92ccf778cf27a09d0f790f075

Authored by Brian van Burken
1 parent c8c8c6c9
Exists in master and in 1 other branch production

Avoid double negation.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/error_report.rb
... ... @@ -75,7 +75,7 @@ class ErrorReport
75 75 end
76 76  
77 77 def valid?
78   - !!app
  78 + app.present?
79 79 end
80 80  
81 81 def should_keep?
... ...