From cf7fda21fd10cee061bb0eae503fec7bff6a06e1 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 28 Feb 2023 06:12:49 +0000 Subject: [PATCH] * Fix bug #32484. --- module/story/control.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index d380938315..fcd2c902c0 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -511,9 +511,11 @@ class story extends control $execution = $this->dao->findById((int)$executionID)->from(TABLE_EXECUTION)->fetch(); if($execution->type == 'project') { + $model = $execution->model == 'waterfallplus' ? 'waterfall' : $execution->model; + $model = $execution->model == 'agileplus' ? 'scrum' : $model; $this->project->setMenu($executionID); $this->lang->navGroup->story = 'project'; - $this->lang->product->menu = $this->lang->{$execution->model}->menu; + $this->lang->product->menu = $this->lang->{$model}->menu; } else {