From 4fd744368c821da0c151672549c110560f8e1e33 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 14 Apr 2017 18:03:41 -0400 Subject: [PATCH] Fixed bug with bug close date --- Project-Unite/Controllers/BugsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Project-Unite/Controllers/BugsController.cs b/Project-Unite/Controllers/BugsController.cs index 2d9250f..69a7fb8 100644 --- a/Project-Unite/Controllers/BugsController.cs +++ b/Project-Unite/Controllers/BugsController.cs @@ -113,6 +113,7 @@ public ActionResult PostBug(PostBugViewModel model) bug.Id = id; bug.Open = true; + bug.ClosedAt = DateTime.Now; bug.Reporter = User.Identity.GetUserId(); bug.ReportedAt = DateTime.Now; bug.Species = model.SpeciesId;