* Fix bug.

This commit is contained in:
qiyu-xie
2021-04-01 11:13:56 +08:00
parent 227c8642de
commit 437b79eeea
+2 -1
View File
@@ -1618,7 +1618,8 @@ class projectModel extends model
/* Replace waterfall lang. */
if($project->model == 'waterfall')
{
$lang->scrum->menu->execution['link'] = str_replace($lang->executionCommon, $lang->project->stage, $lang->scrum->menu->execution['link']);
$this->loadModel('execution');
$lang->scrum->menu->execution['link'] = str_replace($lang->executionCommon, $lang->project->stage, $lang->scrum->menu->execution['link']);
$lang->execution->create = str_replace($lang->executionCommon, $lang->project->stage, $lang->execution->create);
$lang->execution->name = str_replace($lang->executionCommon, $lang->project->stage, $lang->execution->name);
$lang->execution->status = str_replace($lang->executionCommon, $lang->project->stage, $lang->execution->status);