Merge pull request #1101 from ThaMunsta/feedback-notification

Update guest_post.php
This commit is contained in:
Johnny 2024-11-13 22:49:37 +00:00 committed by GitHub
commit 05ff7e145c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ if (isset($_GET['add_ticket_feedback'], $_GET['url_key'])) {
mysqli_query($mysqli, "UPDATE tickets SET ticket_feedback = '$feedback' WHERE ticket_id = $ticket_id AND ticket_url_key = '$url_key'");
// Notify on bad feedback
if ($feedback == "Bad") {
appNotify("Feedback", "Guest rated ticket ID $ticket_id as bad");
appNotify("Feedback", "Guest rated ticket ID $ticket_id as bad", "ticket.php?ticket_id=$ticket_id");
}
$_SESSION['alert_message'] = "Feedback recorded - thank you";