Commit 45f9d15c authored by Andrew Kumanyaev's avatar Andrew Kumanyaev

Fix mistake in reference_jira_issue method

Use local variable instead global
parent e44e2316
...@@ -228,7 +228,7 @@ module Gitlab ...@@ -228,7 +228,7 @@ module Gitlab
def reference_jira_issue(identifier, project = @project) def reference_jira_issue(identifier, project = @project)
url = url_for_issue(identifier) 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( options = html_options.merge(
title: "Issue in #{title}", title: "Issue in #{title}",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment