fix error

This commit is contained in:
邱博亞 2021-12-30 15:22:55 +08:00
parent 3ba5e45a4c
commit f9579fd45d
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class JournalPaper
else else
if t == "paper_title" if t == "paper_title"
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_journal') link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_journal')
paper_title = link=='#' ? p.paper_title : "<a href=\"#{link}\" title=\"#{p.create_link}\" target='_blank'>#{p.create_link}</a>" paper_title = link=='#' ? p.create_link : "<a href=\"#{link}\" title=\"#{p.create_link}\" target='_blank'>#{p.create_link}</a>"
pd_data << { "data_title" => paper_title } pd_data << { "data_title" => paper_title }
else else
pd_data << { "data_title" => p.send(t) } pd_data << { "data_title" => p.send(t) }