From 3530a7fddd700abc40f9762b8216d55837d42a53 Mon Sep 17 00:00:00 2001 From: saint Date: Tue, 2 Jul 2024 19:00:04 +1000 Subject: [PATCH] v0.25.7 Creative bug workaround?? --- gossamer_forums.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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