* Fix bug.

This commit is contained in:
tianshujie98
2021-04-19 15:50:51 +08:00
parent 76d1514df4
commit 17f3b7f116
+7
View File
@@ -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
{