diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 7ad39a0..0f8e4ef 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,5 +1,5 @@ # gossamer threads migration-import code -# v0.25.6 +# v0.25.7 require 'mysql2' require 'open-uri' @@ -905,7 +905,7 @@ class GossamerForumsImporter < ImportScripts::Base rescue ActiveRecord::RecordInvalid => e if e.message.include?("Title has already been used") - unique_title = "#{base_title} (#{suffix})" + unique_title = "#{title} (#{suffix})" suffix += 1 else raise e