* fix bug

This commit is contained in:
zhaohaibo
2020-05-20 18:22:26 +08:00
parent 0606da04e1
commit 9a72a1e4cd

View File

@@ -1122,7 +1122,7 @@ class project extends control
}
$this->view->isSprint = false;
if(strpos($this->config->custom->productProject, '_2'))
if(isset($this->config->custom->productProject) and strpos($this->config->custom->productProject, '_2'))
{
$this->view->isSprint = true;
unset($this->lang->project->typeList['waterfall']);