From 46c2ee917e7001f6b1067d5f666b157e954d24a8 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 7 Oct 2022 18:05:28 -0400 Subject: [PATCH] Fixed bad redirect when adding a client login --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 3bfacf71..9dcdb5b3 100644 --- a/post.php +++ b/post.php @@ -5209,7 +5209,7 @@ if(isset($_POST['add_login'])){ $_SESSION['alert_message'] = "Login added"; - header("Location: client.php?client_id=$client_id&tab=logins"); + header("Location: " . $_SERVER["HTTP_REFERER"]); }