From ee92307425483bf1326778ed5c8e1ac0286e31ee Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Tue, 25 Aug 2020 14:06:08 +0800 Subject: [PATCH] * Fix bug Assigned to me block. --- module/block/control.php | 1 + module/risk/view/view.html.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index 10d0aca623..09cc1ff2ea 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -542,6 +542,7 @@ class block extends control $this->session->set('todoList', $uri); $this->session->set('bugList', $uri); $this->session->set('taskList', $uri); + $this->session->set('riskList', $uri); foreach($todos as $key => $todo) { diff --git a/module/risk/view/view.html.php b/module/risk/view/view.html.php index 55ed1bf0af..f80420bd91 100644 --- a/module/risk/view/view.html.php +++ b/module/risk/view/view.html.php @@ -1,6 +1,6 @@ -createLink('risk', 'browse');?> +session->riskList != false ? $app->session->riskList : $this->createLink('risk', 'browse');?>