Merge pull request #844 from twetech/delete-tickets-go-to-tickets.php

Redirect to tickets.php after deleting a ticket
This commit is contained in:
Johnny
2023-12-23 16:07:46 -05:00
committed by GitHub

View File

@@ -477,7 +477,7 @@ if (isset($_GET['delete_ticket'])) {
$_SESSION['alert_type'] = "error";
$_SESSION['alert_message'] = "Ticket <strong>$ticket_prefix$ticket_number</strong> along with all replies deleted";
header("Location: " . $_SERVER["HTTP_REFERER"]);
header("Location: tickets.php");
}
}