From 7c0ee909ec182c69f7619679cc7d267d1945e6ff Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 21 Jul 2021 11:38:10 +0800 Subject: [PATCH] * Fix bug #13744. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index b5a72a88ca..5f50f66ce3 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2985,7 +2985,7 @@ class execution extends control $this->loadModel('project'); $project = $this->project->getByID($this->session->project); - if($project->model == 'waterfall') $this->lang->executionCommon = $this->lang->project->stage; + if(!empty($project->model) and $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;