From 7f49ecefb16455acdfaa42e12d492f01565bc9ea Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 21 Aug 2025 18:35:16 -0400 Subject: [PATCH] Flash alert if no comment was entered in a ticket reply via the client portal --- client/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/client/post.php b/client/post.php index 43707b85..c406ff39 100644 --- a/client/post.php +++ b/client/post.php @@ -81,6 +81,7 @@ if (isset($_POST['add_ticket_comment'])) { // After stripping bad HTML, check the comment isn't just empty if (empty($comment)) { + flash_alert("You must enter a comment", 'danger'); redirect(); }