forked from spen/seminar
fix delete error
This commit is contained in:
parent
24f85dd3e3
commit
639fdd888c
|
@ -69,6 +69,7 @@ class SeminarSignup
|
||||||
sr.save
|
sr.save
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
seminar_main.seminar_signups.delete(self) #avoid resave
|
||||||
if seminar_main.unassigned_seminar_signup_ids.delete(id)
|
if seminar_main.unassigned_seminar_signup_ids.delete(id)
|
||||||
seminar_main.save
|
seminar_main.save
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue