Forráskód Böngészése

Hard set NotInvited field

Andrea Fazzi 5 éve
szülő
commit
e36cf2d813
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      orm/teacher.go

+ 3 - 0
orm/teacher.go

@@ -210,6 +210,9 @@ func UpdateTeacher(args map[string]string, r *http.Request) (IDer, error) {
 	// FIXME: Should not be hard set.
 	teacher.(*Teacher).Exclude = false
 
+	// FIXME: Should not be hard set.
+	teacher.(*Teacher).NotInvited = false
+
 	if len(args["DateFrom"]) == 0 {
 		// FIXME: Should not be hard set.
 		teacher.(*Teacher).DateFrom = time.Time{}