Fix mistake in reference_jira_issue method
Use local variable instead global
This commit is contained in:
parent
e44e2316c3
commit
45f9d15c0e
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ module Gitlab
|
|||
|
||||
def reference_jira_issue(identifier, project = @project)
|
||||
url = url_for_issue(identifier)
|
||||
title = Gitlab.config.issues_tracker[@project.issues_tracker]["title"]
|
||||
title = Gitlab.config.issues_tracker[project.issues_tracker]["title"]
|
||||
|
||||
options = html_options.merge(
|
||||
title: "Issue in #{title}",
|
||||
|
|
Loading…
Reference in a new issue