forked from spen/seminar
Fix bug.
This commit is contained in:
parent
ed0c4a5a2f
commit
aff03f732e
|
@ -584,7 +584,7 @@ class Admin::SeminarsController < OrbitAdminController
|
|||
end
|
||||
end
|
||||
else
|
||||
if seminar_main.seminar_sessions.where(:seminar_signup_ids.ne=>[]).count == 0
|
||||
if @seminar.seminar_sessions.where(:seminar_signup_ids.ne=>[]).count == 0
|
||||
@seminar.update(:assign_mode => 0)
|
||||
else
|
||||
@seminar.update(:assign_mode => 1)
|
||||
|
|
Loading…
Reference in New Issue