diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index e223c5472..fccd0eb52 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -180,9 +180,9 @@ class Admin::ImportDataController < OrbitBackendController @journal_paper = WritingJournal.new @journal_paper.authors = b[:author] if b[:title].blank? - @journal_paper.paper_title = b[:title] + @journal_paper.paper_title = "No Title Present" else - @journal_paper.paper_title = "No Title Present" + @journal_paper.paper_title = b[:title] end @journal_paper.year = b[:year] @journal_paper.note = b[:remarks]