This commit is contained in:
BoHung Chiu 2022-08-18 14:35:01 +08:00
parent bde0a0df50
commit 364341d246
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class WritingConference
when "abstract" when "abstract"
value = nl2br(self.abstract) value = nl2br(self.abstract)
when "language" when "language"
value = I18n.t(self.language) if !self.language.nil? rescue "" value = I18n.t(self.language, :default=> self.language) if !self.language.nil? rescue ""
when "file" when "file"
files = [] files = []
self.writing_conference_files.each do |conference_files| self.writing_conference_files.each do |conference_files|