From 92e716a1fd907ee96e9b7ef557e4a71843f49084 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 14 Sep 2016 08:15:48 +0530 Subject: [PATCH] fix vbulletin import script --- script/import_scripts/vbulletin.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/script/import_scripts/vbulletin.rb b/script/import_scripts/vbulletin.rb index 5a7303d12c8..90b943b71e6 100644 --- a/script/import_scripts/vbulletin.rb +++ b/script/import_scripts/vbulletin.rb @@ -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[7..-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}") topic_id = t[:topic_id] end