mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
ensure titles exist
This commit is contained in:
parent
acf6b253e1
commit
24e4808aeb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user