Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-24 00:09:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-24 00:09:31 +0300
commit427a082f7db22d4432f491aa7ee3a18a62a20d29 (patch)
tree6527fb894f736e6b7bb2c93f6ddedee4a4795b53 /app/helpers/explore_helper.rb
parentfdd0b0fd4592c74257980d07878db75705d22192 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/explore_helper.rb')
-rw-r--r--app/helpers/explore_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/explore_helper.rb b/app/helpers/explore_helper.rb
index b341cc795a0..b66c7a69b71 100644
--- a/app/helpers/explore_helper.rb
+++ b/app/helpers/explore_helper.rb
@@ -52,7 +52,7 @@ module ExploreHelper
end
def public_visibility_restricted?
- Gitlab::CurrentSettings.restricted_visibility_levels.include? Gitlab::VisibilityLevel::PUBLIC
+ Gitlab::CurrentSettings.restricted_visibility_levels&.include? Gitlab::VisibilityLevel::PUBLIC
end
private