mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Flash alert if no comment was entered in a ticket reply via the client portal
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user