diff --git a/script/import_scripts/muut.rb b/script/import_scripts/muut.rb index 87239ce7e26..ccd356d90db 100644 --- a/script/import_scripts/muut.rb +++ b/script/import_scripts/muut.rb @@ -122,7 +122,7 @@ class ImportScripts::Muut < ImportScripts::Base # create replies if thread["replies"].present? && thread["replies"].count > 0 - thread["replies"].reverse.each do |post| + thread["replies"].reverse_each do |post| if post_id_from_imported_post_id(post["id"]) next # already imported this post