v0.25.7 Creative bug workaround??
This commit is contained in:
parent
fbc0545f8a
commit
3530a7fddd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user