diff --git a/app/helpers/admin/journal_papers_helper.rb b/app/helpers/admin/journal_papers_helper.rb index b447238..50e45a6 100644 --- a/app/helpers/admin/journal_papers_helper.rb +++ b/app/helpers/admin/journal_papers_helper.rb @@ -6,7 +6,7 @@ module Admin::JournalPapersHelper (journal.authors.to_s.blank? ? get_member_show(journal) : (journal.authors.to_s) rescue "") end def get_member(journal) - Array(MemberProfile.find(Array(journal).collect(&:member_profile_id))) + Array(MemberProfile.find(Array(journal).collect(&:member_profile_id))) rescue [] end def get_member_show(journal) get_member(journal).collect{|member| "#{member.name}"}.join('/')