Commit e8096693 authored by Arseny Zarechnev's avatar Arseny Zarechnev

Fix github importer to handle empty issues

parent 6f6c75cb
......@@ -19,7 +19,7 @@ module Gitlab
if issue.pull_request.nil?
body = @formatter.author_line(issue.user.login)
body += issue.body
body += issue.body || ""
if issue.comments > 0
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