From ab17277353f75802fb74f3ffa7b943582b83a56b Mon Sep 17 00:00:00 2001 From: Tai Coromandel Date: Mon, 1 Feb 2016 02:45:51 +1300 Subject: [PATCH] users.map should be results.map in xenforo import --- script/import_scripts/xenforo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/xenforo.rb b/script/import_scripts/xenforo.rb index 41f7cd15874..0a70c78b243 100644 --- a/script/import_scripts/xenforo.rb +++ b/script/import_scripts/xenforo.rb @@ -42,7 +42,7 @@ class ImportScripts::XenForo < 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, resutls.map {|u| u["id"].to_i} create_users(results, total: total_count, offset: offset) do |user| next if user['username'].blank?