From 03ad641217e4eaeb1f2575f5839346b0fe3751b1 Mon Sep 17 00:00:00 2001 From: Daniel Sevilla Date: Mon, 3 Jan 2022 13:14:21 +0100 Subject: [PATCH] Fix navigation to previous pages. --- select_hpc.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/select_hpc.php b/select_hpc.php index 162c0ee3..eedd8452 100644 --- a/select_hpc.php +++ b/select_hpc.php @@ -22,6 +22,14 @@ exit(); } +if ($_SESSION['user']->isAdmin() + || $_SESSION['task_setting']->isEligibleForCAC() + || $_SESSION['task_setting']->isEligibleForTStabilization($_SESSION['setting'])) { + $back = "post_processing.php"; +} else { + $back = "task_parameter.php"; +} + // fileserver related code if (!isset($_SESSION['fileserver'])) { $name = $_SESSION['user']->name(); @@ -177,7 +185,7 @@ class=" + onclick="document.location.href=''"/>