diff --git a/script/import_scripts/bbpress.rb b/script/import_scripts/bbpress.rb index bd5e872650b..26184192c5a 100644 --- a/script/import_scripts/bbpress.rb +++ b/script/import_scripts/bbpress.rb @@ -82,7 +82,7 @@ class ImportScripts::Bbpress < ImportScripts::Base id: u["id"].to_i, username: u["user_nicename"], email: u["user_email"].downcase, - name: u["display_name"], + name: u["display_name"].length > 0 ? u["display_name"] : u['user_nicename'], created_at: u["user_registered"], website: u["user_url"], bio_raw: users_description[u["id"]],