This commit is contained in:
liumengyi
2022-01-17 11:12:26 +08:00
parent 5f4d85fbca
commit 451042f0a4
+1 -1
View File
@@ -523,7 +523,7 @@ class executionModel extends model
->limit(1)
->exec();
if($oldExecution->type == 'kanban') $this->dao->delete()->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->exec();
if($oldExecution->type == 'kanban') $this->dao->delete()->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq('execution')->exec();
/* Get team and language item. */
$this->lang->execution->team = $this->lang->execution->teamname;