mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 03:11:48 -05:00
fix substring
This commit is contained in:
parent
0214626db3
commit
c629251ecd
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue