mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
fix vbulletin import script
This commit is contained in:
parent
8087cca54d
commit
92e716a1fd
1 changed files with 1 additions and 0 deletions
|
@ -397,6 +397,7 @@ class ImportScripts::VBulletin < ImportScripts::Base
|
||||||
parent_id = title_username_of_pm_first_post[[title[6..-1], participants]] unless parent_id
|
parent_id = title_username_of_pm_first_post[[title[6..-1], participants]] unless parent_id
|
||||||
parent_id = title_username_of_pm_first_post[[title[7..-1], participants]] unless parent_id
|
parent_id = title_username_of_pm_first_post[[title[7..-1], participants]] unless parent_id
|
||||||
parent_id = title_username_of_pm_first_post[[title[8..-1], participants]] unless parent_id
|
parent_id = title_username_of_pm_first_post[[title[8..-1], participants]] unless parent_id
|
||||||
|
if parent_id
|
||||||
if t = topic_lookup_from_imported_post_id("pm-#{parent_id}")
|
if t = topic_lookup_from_imported_post_id("pm-#{parent_id}")
|
||||||
topic_id = t[:topic_id]
|
topic_id = t[:topic_id]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue