get satisfaction has topics with no body

This commit is contained in:
Sam 2015-03-23 12:16:43 +11:00
parent 23ed7e9db8
commit 23513eaf87
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class ImportScripts::GetSatisfaction < ImportScripts::Base
title: topic.subject, title: topic.subject,
deleted: topic.removed == "1", deleted: topic.removed == "1",
closed: true, closed: true,
body: topic.additional_detail && normalize_raw!(topic.additional_detail), body: normalize_raw!(topic.additional_detail || topic.subject || "<missing>"),
created_at: DateTime.parse(topic.created_at), created_at: DateTime.parse(topic.created_at),
user_id: topic.UserId, user_id: topic.UserId,
category: category.name category: category.name