diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 3b97e8b00..fab290fd7 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -144,7 +144,7 @@ class ReportsController < ApplicationController def edit @edit = true @active_template = @report.settings[:template] - @active_docx_template = @report.settings[:docx_template] + @active_docx_template = @report.settings[:docx_template].presence || 'scinote_template' @report.settings = Report::DEFAULT_SETTINGS if @report.settings.blank? @project_contents = {