Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-19 12:21:02 +08:00
parent 48526a96a7
commit 0aa6715a2f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class PersonalJournalsController < ApplicationController
when "language"
t << {"value" => (!journal_paper.language.nil? ? t("#{journal_paper.language}") : "")}
else
t << {"value" => journal_paper.send(fs)}
t << {"value" => (journal_paper.send(fs) rescue "")}
end
end
journal_paper_list << {"jps" => t}