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>2021-08-26 00:10:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-26 00:10:28 +0300
commit52f765baf4931efd40d10b1eb5f2818923ddf26f (patch)
tree5cdbe4c6aa08be4b829316b0d80f94d46c305703 /lib/gitlab/changelog
parentb98791fe502a4dfc02b70d3fa4b4140afb69d7d9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/changelog')
-rw-r--r--lib/gitlab/changelog/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/changelog/config.rb b/lib/gitlab/changelog/config.rb
index 0538fe68474..d25094d9b37 100644
--- a/lib/gitlab/changelog/config.rb
+++ b/lib/gitlab/changelog/config.rb
@@ -89,7 +89,7 @@ module Gitlab
end
def contributor?(user)
- @project.team.contributor?(user)
+ @project.team.contributor?(user&.id)
end
def category(name)