From d66a75a5ce8d8d023a05eefbe648598239d9c4ff Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Tue, 4 Aug 2020 19:22:13 +0100 Subject: [PATCH] :bug: Force remove headers before redirection Signed-off-by: Luke Tainton --- app/public/new.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/public/new.php b/app/public/new.php index b1604db..1ae22eb 100644 --- a/app/public/new.php +++ b/app/public/new.php @@ -44,6 +44,7 @@ echo("Error running SQL (Add new user):
" . $e->getMessage() . "
"); } + header_remove(); header('Location: /view?rid=' . $tkt_uuid); } ?>