forked from spen/seminar
Merge branch 'master' into 'master'
Fix bug. See merge request spen/seminar!23
This commit is contained in:
commit
d9ef14ab5f
|
@ -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