2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

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

View file

@ -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 || "<missing>"),
created_at: DateTime.parse(topic.created_at),
user_id: topic.UserId,
category: category.name