forked from spen/seminar
Fix bug.
This commit is contained in:
parent
0e6c8aa074
commit
1101c8e10f
|
@ -5,7 +5,7 @@
|
||||||
<h4><%= t("seminar.reviewer") %></h4>
|
<h4><%= t("seminar.reviewer") %></h4>
|
||||||
<% reviewer_show_ids = @seminar.reviewer_show_ids %>
|
<% reviewer_show_ids = @seminar.reviewer_show_ids %>
|
||||||
<% if reviewer_show_ids.nil?
|
<% 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)
|
@seminar.update(:reviewer_show_ids=>reviewer_show_ids)
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Reference in New Issue