Browse Source

Hard set NotInvited field

Andrea Fazzi 5 years ago
parent
commit
f76026a4e6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      orm/teacher.go

+ 3 - 0
orm/teacher.go

@@ -211,6 +211,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{}