🐛 Force remove headers before redirection

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-04 19:32:18 +01:00
parent 18a1ad7365
commit b8e98126da
3 changed files with 18 additions and 1 deletions

View File

@@ -44,7 +44,7 @@
echo("Error running SQL (Add new user): <br>" . $e->getMessage() . "<br>");
}
header_remove();
header_remove("Location");
header('Location: /view?rid=' . $tkt_uuid);
}
?>