summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/Controllers/ForumController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project-Unite/Controllers/ForumController.cs b/Project-Unite/Controllers/ForumController.cs
index 888c41e..b0769e9 100644
--- a/Project-Unite/Controllers/ForumController.cs
+++ b/Project-Unite/Controllers/ForumController.cs
@@ -213,6 +213,7 @@ namespace Project_Unite.Controllers
var post = new ForumPost();
post.AuthorId = User.Identity.GetUserId();
+ post.Subject = model.Subject;
post.Body = model.Body;
post.Id = Guid.NewGuid().ToString();
post.Parent = topic.Id;