This commit is contained in:
BoHung Chiu 2021-04-27 16:14:24 +08:00
parent 5f88df5a2a
commit 53d9fadabf
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ module NtnuSyncPlugin
end
end
if !invalid_apa_title.include? apa_title
if invalid_apa_title.include? apa_title
jp.delete
jp = JournalPaper.new
jp.paper_title_translations = { 'zh_tw' => apa_title, 'en' => apa_title }
@ -95,7 +95,7 @@ module NtnuSyncPlugin
end
end
if !invalid_apa_title.include? apa_title
if invalid_apa_title.include? apa_title
wc.delete
wc = WritingConference.new
wc.paper_title_translations = { 'zh_tw' => apa_title, 'en' => apa_title }