* Fix bug.

This commit is contained in:
Yagami
2021-04-01 16:28:28 +08:00
parent e61e846e25
commit 48706314d7
+1 -1
View File
@@ -455,7 +455,7 @@ class upgrade extends control
if($project) $sprint->projects[$project->id] = $project->name;
}
if(!isset($sprint->projects)) $sprint->projects = $this->dao->select('id,name')->from(TABLE_PROJECT)->where('type')->eq('program')->fetchPairs();
if(!isset($sprint->projects)) $sprint->projects = $this->dao->select('id,name')->from(TABLE_PROJECT)->where('type')->eq('project')->fetchPairs();
}
$this->view->noMergedSprints = $noMergedSprints;