From e45202d133d1fb9c68507689bb5a048544357a18 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Wed, 12 Jan 2022 15:37:33 +0000 Subject: [PATCH] Redirect user to tickets main page post deletion, rather than to a random ticket. --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index bcf9459d..75cd93fd 100644 --- a/post.php +++ b/post.php @@ -5080,7 +5080,7 @@ if(isset($_GET['delete_ticket'])){ $_SESSION['alert_message'] = "Ticket deleted"; - header("Location: " . $_SERVER["HTTP_REFERER"]); + header("Location: tickets.php"); }