summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Zarechnev <cyanidesign@gmail.com>2015-11-17 17:47:39 +0000
committerArseny Zarechnev <cyanidesign@gmail.com>2015-11-18 11:02:25 +0000
commite809669383d528e80d6408c4838566cf9f0bb8ac (patch)
treeef2646a5fce958d79a2eb286d436a03ae2a00a88
parent6f6c75cb85195984c6e610ad109464dcb952a5fe (diff)
downloadgitlab-ce-e809669383d528e80d6408c4838566cf9f0bb8ac.tar.gz
Fix github importer to handle empty issues
-rw-r--r--lib/gitlab/github_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/importer.rb b/lib/gitlab/github_import/importer.rb
index bd7340a80f1..b5720f6e2cb 100644
--- a/lib/gitlab/github_import/importer.rb
+++ b/lib/gitlab/github_import/importer.rb
@@ -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