Flash alert if no comment was entered in a ticket reply via the client portal

This commit is contained in:
johnnyq 2025-08-21 18:35:16 -04:00
parent 43324391ff
commit 7f49ecefb1
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}