Commit 632a0c54 authored by Douwe Maan's avatar Douwe Maan

Check if project is nil in reference extractor.

parent 1d3435d6
v 7.12 (Unreleased)
- Fix error when viewing merge request with a commit that includes "Closes #<issue id>".
v 7.11.2
- Fixed license upload and verification mechanism
......
......@@ -23,7 +23,7 @@ module Gitlab
end
def issues
if project.default_issues_tracker?
if project.nil? || project.default_issues_tracker?
result = pipeline_result(:issue)
elsif project.jira_tracker?
result = pipeline_result(:external_issue)
......
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