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

Redirect to tickets.php after deleting a ticket instead of the delete…
This commit is contained in:
Andrew Malsbury 2023-12-22 17:22:46 -06:00 committed by GitHub
commit 16f3cef0f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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");
}
}