diff --git a/script/import_scripts/punbb.rb b/script/import_scripts/punbb.rb index a5d54372f1e..6b8fad7f507 100644 --- a/script/import_scripts/punbb.rb +++ b/script/import_scripts/punbb.rb @@ -43,7 +43,7 @@ class ImportScripts::PunBB < ImportScripts::Base break if results.size < 1 - next if all_records_exist? :users, users.map {|u| u["id"].to_i} + next if all_records_exist? :users, results.map {|u| u["id"].to_i} create_users(results, total: total_count, offset: offset) do |user| { id: user['id'],