Fix bug.
This commit is contained in:
1 parent
ed0c4a5a2f
commit
aff03f732e
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user