This commit is contained in:
tianshujie
2021-09-02 13:02:26 +08:00
parent 8f9a010887
commit 6f7835da43
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -2448,7 +2448,7 @@ class executionModel extends model
*/
public function getTeamPairsByProject($projectID = 0)
{
if(empty($projectID)) return array();
if(empty($projectID) and $this->config->systemMode == 'new') return array();
$teams = $this->dao->select('id,name,type')->from(TABLE_PROJECT)
->where('deleted')->eq(0)