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