From b5bd5ec421ac657db3e2f9aa4fb1e6ca329a1285 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 25 Jan 2021 09:22:41 +0800 Subject: [PATCH] * Fix a bug. --- module/project/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index 25d62e8f6c..c8ecb952a8 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -2160,7 +2160,7 @@ class project extends control $project = $this->project->getById($projectID); $products = $this->project->getProducts($projectID); $browseLink = $this->createLink('project', 'story', "projectID=$projectID"); - if($project->type == 'project') $browseLink = $this->createLink('projectstory', 'story'); + if($project->type == 'project') $browseLink = $this->createLink('projectstory', 'story', "productID={$this->session->product}"); $this->session->set('storyList', $this->app->getURI(true)); // Save session. if($project->type != 'project') $this->project->setMenu($this->projects, $project->id); // Set menu.