From e6b623be23034bf37b42d71b38b067bda6ddf814 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Mon, 10 Aug 2020 18:22:12 +0100 Subject: [PATCH] :bug: Fix link on reopen button Signed-off-by: Luke Tainton --- app/public/actions/reopen.php | 2 +- app/public/view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/public/actions/reopen.php b/app/public/actions/reopen.php index 3aee5f5..6dc39c8 100644 --- a/app/public/actions/reopen.php +++ b/app/public/actions/reopen.php @@ -20,7 +20,7 @@ } catch (PDOException $e) { $alert = array("danger", "Failed to reopen request: " . $e->getMessage()); } - $newURL = "/"; + $newURL = "/view?rid=" . $request['uuid']; echo(""); } else { $alert = array("danger", "You are not authorised to reopen this request."); diff --git a/app/public/view.php b/app/public/view.php index b026de4..d65e261 100644 --- a/app/public/view.php +++ b/app/public/view.php @@ -79,7 +79,7 @@ - Reopen request + Reopen request