Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-02 15:22:11 +08:00
parent 5f1bea1671
commit 0c1a4a7796
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]