From 17f3b7f11695d28e680f7c81e1fb9b4ff64fd0d5 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 19 Apr 2021 15:50:51 +0800 Subject: [PATCH] * Fix bug. --- module/bug/control.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/module/bug/control.php b/module/bug/control.php index e51bfd5a5f..36b01fc533 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -304,6 +304,13 @@ class bug extends control else if($this->app->openApp == 'project') { $this->loadModel('project')->setMenu($output['projectID']); + + /* Replace language. */ + $project = $this->project->getByID($output['projectID']); + if(!empty($project->model) and $project->model == 'waterfall') + { + $this->lang->bug->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->bug->execution); + } } else {