fix a small issue that kept submissions from continaing the real information.

This commit is contained in:
Tim Young 2017-08-03 14:33:06 -05:00
parent 3bf05ed8ff
commit 99ff6e092d
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ namespace EduNetworkBuilder
NewWork.isMaster = false;
NewWork.IsSumbitted = true;
NewWork.SaveDate = DateTime.Now;
NewWork.theProject = ToAdd; //Save the changed version of the homework
CurrentUser.Projects.Add(NewWork);
UpdateFormFromUser(); //make sure we list the right homeworks.