mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
fix wrong variable name in vanilla_mysql import script
This commit is contained in:
parent
fbacaab2fc
commit
42d05ecfb2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class ImportScripts::VanillaSQL < ImportScripts::Base
|
|||
|
||||
break if results.size < 1
|
||||
|
||||
next if all_records_exist? :users, users.map {|u| u['UserID'].to_i}
|
||||
next if all_records_exist? :users, results.map {|u| u['UserID'].to_i}
|
||||
|
||||
create_users(results, total: total_count, offset: offset) do |user|
|
||||
next if user['Email'].blank?
|
||||
|
|
Loading…
Reference in a new issue