mirror of https://github.com/itflow-org/itflow
Flash alert if no comment was entered in a ticket reply via the client portal
This commit is contained in:
parent
43324391ff
commit
7f49ecefb1
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue