From 5f1bea1671bd8fd6f5e310398389fbf6c51b8516 Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 2 Nov 2019 15:20:54 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 95a9566..407edbd 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -65,7 +65,7 @@ class Admin::JournalPapersController < OrbitMemberController end def new - @member = Array(MemberProfile.find_by(:uid=>params['uid']) rescue nil) + @member = Array(MemberProfile.find_by(:uid=>params['uid'])) rescue [nil] @journal_paper = JournalPaper.new if params[:desktop]