Skip to content

Commit 6b7b06b

Browse files
committed
Fixed curators seeing spam content even without facet enabled
1 parent 2cc47f7 commit 6b7b06b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/facets.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def include_hidden(scope, value, user)
5050
end
5151

5252
# Hide unverified/rejected users' things, except from curators and admins
53-
unless user && (user.is_curator? || (user.is_admin? && value))
53+
unless user && ((user.is_curator? || user.is_admin?) && value)
5454
without(:unverified, true)
5555
end
5656
end

0 commit comments

Comments
 (0)