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;