🍻 Did some more stuff

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-04 22:34:00 +01:00
parent 97111b371b
commit 8f3b2e0747
5 changed files with 361 additions and 115 deletions

View File

@@ -40,8 +40,7 @@
}
}
header_remove("Location");
header('Location: /view?rid=' . $tkt_uuid);
header('Location: /view?rid=' . $tkt_uuid, true);
}
if (!is_signed_in()) {
@@ -58,14 +57,14 @@
<?php
if(isset($new_ticket_alert)) {
echo("
<section>
<div class='container'>
<div class='alert alert-" . $new_ticket_alert[0] . " alert-dismissible fade show' role='alert'>
" . $new_ticket_alert[1] . "
<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
<span aria-hidden='true'>&times;</span>
</button>
</div>
</section>
</div>
");
unset($new_ticket_alert);
}