Skip to content

Commit

Permalink
Fix admission process without letters
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoFelipe committed Oct 31, 2023
1 parent dde5baf commit 3f62120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/admissions/admission_processes_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def letter_request_t(key, *args)
end

def report_template_fields(template)
return [] if template.blank?
return Admissions::FormTemplate.none if template.blank?
template.fields.order(:order, :id).where(sync: nil)
end

Expand Down

0 comments on commit 3f62120

Please sign in to comment.