From a734755ede34436d63716461a58d2d01cc155c36 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Wed, 9 Mar 2016 17:22:53 +0000 Subject: [PATCH] We now are appending the users name to who wrote the comment. Rather than it being unknown --- PlexRequests.UI/Modules/RequestsModule.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PlexRequests.UI/Modules/RequestsModule.cs b/PlexRequests.UI/Modules/RequestsModule.cs index ff5aa0f8b..bd9664720 100644 --- a/PlexRequests.UI/Modules/RequestsModule.cs +++ b/PlexRequests.UI/Modules/RequestsModule.cs @@ -156,7 +156,10 @@ namespace PlexRequests.UI.Modules return Response.AsJson(new JsonResponseModel { Result = false, Message = "Could not add issue, please try again or contact the administrator!" }); } originalRequest.Issues = issue; - originalRequest.OtherMessage = comment; + originalRequest.OtherMessage = string.IsNullOrEmpty(comment) + ? $"{Session[SessionKeys.UsernameKey]} - {comment}" + : string.Empty; + var result = Service.Update(originalRequest); if (result)