mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 05:44:52 +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
|
// After stripping bad HTML, check the comment isn't just empty
|
||||||
if (empty($comment)) {
|
if (empty($comment)) {
|
||||||
|
flash_alert("You must enter a comment", 'danger');
|
||||||
redirect();
|
redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user