From f2fb924b0cb8cadafe912e25a74c8ebde7e65bed Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 26 Apr 2021 16:58:29 +0800 Subject: [PATCH] * Fix bug #12189. --- module/execution/control.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/execution/control.php b/module/execution/control.php index ff9790639d..d9b8526fc4 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2824,6 +2824,10 @@ class execution extends control $this->fetch('file', 'export2' . $this->post->fileType, $_POST); } + $this->loadModel('project'); + $project = $this->project->getByID($this->session->project); + if($project->model == 'waterfall') $this->lang->executionCommon = $this->lang->project->stage; + $this->view->fileName = (in_array($status, array('all', 'undone')) ? $this->lang->execution->$status : $this->lang->execution->statusList[$status]) . $this->lang->executionCommon; $this->display();