diff --git a/Project-Unite/Controllers/BugsController.cs b/Project-Unite/Controllers/BugsController.cs index c44f386..d321867 100644 --- a/Project-Unite/Controllers/BugsController.cs +++ b/Project-Unite/Controllers/BugsController.cs @@ -135,7 +135,7 @@ public ActionResult PostBug(PostBugViewModel model) **Author's description:** -{comment.Body.Substring(Math.Min(comment.Body.Length, 128))}", Url.Action("ViewBug", new { id = bug.Id })); +{comment.Body.Substring(0, Math.Min(comment.Body.Length, 128))}", Url.Action("ViewBug", new { id = bug.Id })); return RedirectToAction("ViewBug", new { id = bug.Id }); } }