mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 04:57:35 +00: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 @@ namespace Project_Unite.Controllers
|
||||||
|
|
||||||
**Author's description:**
|
**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 });
|
return RedirectToAction("ViewBug", new { id = bug.Id });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue