Update guest_post.php

fix hotlink on notification
This commit is contained in:
ThaMunsta 2024-11-13 17:25:58 -05:00 committed by GitHub
parent a86eecf63b
commit 93b5c6aab1
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";