This commit is contained in:
BoHung Chiu 2021-07-07 13:01:01 +08:00
parent 0e6c8aa074
commit 1101c8e10f
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
%>