🐛 Fix link on reopen button

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-10 18:22:12 +01:00
parent 07fb834c90
commit e6b623be23
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
} catch (PDOException $e) {
$alert = array("danger", "Failed to reopen request: " . $e->getMessage());
}
$newURL = "/";
$newURL = "/view?rid=" . $request['uuid'];
echo("<script>window.location = '$newURL'</script>");
} else {
$alert = array("danger", "You are not authorised to reopen this request.");