mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:01:22 +08:00
ensure titles exist
This commit is contained in:
@ -238,7 +238,7 @@ class ImportScripts::GetSatisfaction < ImportScripts::Base
|
|||||||
|
|
||||||
|
|
||||||
unless topic[:post_id]
|
unless topic[:post_id]
|
||||||
mapped[:title] = post[:title]
|
mapped[:title] = post[:title] || "Topic title missing"
|
||||||
topic[:post_id] = post[:id]
|
topic[:post_id] = post[:id]
|
||||||
mapped[:category] = post[:category]
|
mapped[:category] = post[:category]
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user