Commit 246fe927 authored by Douwe Maan's avatar Douwe Maan

Fix reference extractor when there is no project.

parent 82693c40
......@@ -20,7 +20,7 @@ module Gitlab
end
def issues
if project.jira_tracker?
if project && project.jira_tracker?
references[:external_issue]
else
references[: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