From aafaedf32d198dfb23863c3641ec3b0b6516bc59 Mon Sep 17 00:00:00 2001 From: bohung Date: Wed, 17 Mar 2021 17:16:08 +0800 Subject: [PATCH] Fix bug. --- app/models/seminar_main.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/seminar_main.rb b/app/models/seminar_main.rb index a20e242..49de8e0 100644 --- a/app/models/seminar_main.rb +++ b/app/models/seminar_main.rb @@ -88,7 +88,7 @@ class SeminarMain end end remove_module_app_member_ids.delete(self.organizer_id) - self.reviewer_ids.each{|r| remove_module_app_member_ids.delete(r)} + self.reviewer_ids.each{|r| remove_module_app_member_ids.delete(r)} rescue nil remove_module_app_member_ids.each do |m_id| user = User.where(:member_profile_id=>m_id).first begin