Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-02 15:20:54 +08:00
parent 556840d567
commit 5f1bea1671
1 changed files with 1 additions and 1 deletions

View File

@ -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]