* Fix bug.

This commit is contained in:
liumengyi
2023-02-07 11:25:30 +08:00
parent a413a2b809
commit 2d3e9a725a
+1 -1
View File
@@ -1327,7 +1327,7 @@ class executionModel extends model
/* If mode == leaf, only show leaf executions. */
$allExecutions = $this->dao->select('id,name,parent')->from(TABLE_EXECUTION)
->where('type')->notin(array('program', 'project'))
->beginIf($projectId)->andWhere('project')->eq($projectID)->fi()
->beginIf($projectID)->andWhere('project')->eq($projectID)->fi()
->fetchAll('id');
$parents = array();