Commit fe8bb1f1 authored by Douwe Maan's avatar Douwe Maan

Merge pull request #9838 from evindor/master

Fix github importer to handle empty issues
parents df6bb579 e8096693
...@@ -19,7 +19,7 @@ module Gitlab ...@@ -19,7 +19,7 @@ module Gitlab
if issue.pull_request.nil? if issue.pull_request.nil?
body = @formatter.author_line(issue.user.login) body = @formatter.author_line(issue.user.login)
body += issue.body body += issue.body || ""
if issue.comments > 0 if issue.comments > 0
body += @formatter.comments_header body += @formatter.comments_header
......
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