diff --git a/script/import_scripts/phpbb3/importers/post_importer.rb b/script/import_scripts/phpbb3/importers/post_importer.rb index 1884190d4b3..051695585b7 100644 --- a/script/import_scripts/phpbb3/importers/post_importer.rb +++ b/script/import_scripts/phpbb3/importers/post_importer.rb @@ -56,6 +56,7 @@ module ImportScripts::PhpBB3 mapped[:pinned_globally] = row[:topic_type] == Constants::POST_GLOBAL mapped[:post_create_action] = proc do |post| @permalink_importer.create_for_topic(post.topic, row[:topic_id]) + @permalink_importer.create_for_post(post, row[:post_id]) end add_poll(row, mapped) if @settings.import_polls