From 23513eaf874ed6c6ffbbfadd5e034a95ec24a8c4 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 23 Mar 2015 12:16:43 +1100 Subject: [PATCH] get satisfaction has topics with no body --- script/import_scripts/getsatisfaction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/getsatisfaction.rb b/script/import_scripts/getsatisfaction.rb index 7693ddbca15..74a163414ca 100644 --- a/script/import_scripts/getsatisfaction.rb +++ b/script/import_scripts/getsatisfaction.rb @@ -276,7 +276,7 @@ class ImportScripts::GetSatisfaction < ImportScripts::Base title: topic.subject, deleted: topic.removed == "1", closed: true, - body: topic.additional_detail && normalize_raw!(topic.additional_detail), + body: normalize_raw!(topic.additional_detail || topic.subject || ""), created_at: DateTime.parse(topic.created_at), user_id: topic.UserId, category: category.name