Merge branch 'master' into 'master'

Fix bug.



See merge request !17
This commit is contained in:
chiu 2021-07-07 13:02:11 +08:00
commit e76b1e16c5
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<h4><%= t("seminar.reviewer") %></h4>
<% reviewer_show_ids = @seminar.reviewer_show_ids %>
<% if reviewer_show_ids.nil?
reviewer_show_ids = @seminar.reviewer_ids[0..1]
reviewer_show_ids = @seminar.reviewer_ids[0..1] rescue []
@seminar.update(:reviewer_show_ids=>reviewer_show_ids)
end
%>