forked from spen/seminar
Fix bug.
This commit is contained in:
parent
6863284dfa
commit
67e1dd153f
|
@ -498,6 +498,7 @@ class Admin::SeminarsController < OrbitAdminController
|
||||||
seminar_submission_values.each do |v|
|
seminar_submission_values.each do |v|
|
||||||
if v.seminar_signup_contribute.nil?
|
if v.seminar_signup_contribute.nil?
|
||||||
v.destroy
|
v.destroy
|
||||||
|
next
|
||||||
end
|
end
|
||||||
next if v.val.to_i.to_s != v.val
|
next if v.val.to_i.to_s != v.val
|
||||||
seminar_session = @seminar.seminar_sessions.where(:key=>v.val.to_i).first
|
seminar_session = @seminar.seminar_sessions.where(:key=>v.val.to_i).first
|
||||||
|
|
Loading…
Reference in New Issue