From 9a72a1e4cd8671f1c5dff6790b275f62f00722f2 Mon Sep 17 00:00:00 2001 From: zhaohaibo Date: Wed, 20 May 2020 18:22:26 +0800 Subject: [PATCH] * fix bug --- module/project/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index ab8e7e2a37..4b03863fc5 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -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']);