Andrea Fazzi пре 5 година
родитељ
комит
e36cf2d813
1 измењених фајлова са 3 додато и 0 уклоњено
  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{}