mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +00:00
Redirect to tickets.php after deleting a ticket instead of the deleted tickets' page.
This commit is contained in:
@@ -477,7 +477,7 @@ if (isset($_GET['delete_ticket'])) {
|
|||||||
$_SESSION['alert_type'] = "error";
|
$_SESSION['alert_type'] = "error";
|
||||||
$_SESSION['alert_message'] = "Ticket <strong>$ticket_prefix$ticket_number</strong> along with all replies deleted";
|
$_SESSION['alert_message'] = "Ticket <strong>$ticket_prefix$ticket_number</strong> along with all replies deleted";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: tickets.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user