Skip to content

Commit

Permalink
Fix logic mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Dec 5, 2016
1 parent 94b4923 commit 0bf651e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/users/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def has_related_assets?

asset != "Comment" && klass.assigned_to(self).exists? || klass.created_by(self).exists?
end
sum == nil
!sum.nil?
end

private
Expand Down

0 comments on commit 0bf651e

Please sign in to comment.