We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc47f7 commit 6b7b06bCopy full SHA for 6b7b06b
1 file changed
lib/facets.rb
@@ -50,7 +50,7 @@ def include_hidden(scope, value, user)
50
end
51
52
# Hide unverified/rejected users' things, except from curators and admins
53
- unless user && (user.is_curator? || (user.is_admin? && value))
+ unless user && ((user.is_curator? || user.is_admin?) && value)
54
without(:unverified, true)
55
56
0 commit comments