Commit 45f9d15c0e697797741be1f82cff1548cd0efbe0
1 parent
e44e2316
Exists in
spb-stable
and in
2 other branches
Fix mistake in reference_jira_issue method
Use local variable instead global
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/markdown.rb
@@ -228,7 +228,7 @@ module Gitlab | @@ -228,7 +228,7 @@ module Gitlab | ||
228 | 228 | ||
229 | def reference_jira_issue(identifier, project = @project) | 229 | def reference_jira_issue(identifier, project = @project) |
230 | url = url_for_issue(identifier) | 230 | url = url_for_issue(identifier) |
231 | - title = Gitlab.config.issues_tracker[@project.issues_tracker]["title"] | 231 | + title = Gitlab.config.issues_tracker[project.issues_tracker]["title"] |
232 | 232 | ||
233 | options = html_options.merge( | 233 | options = html_options.merge( |
234 | title: "Issue in #{title}", | 234 | title: "Issue in #{title}", |