* Fix bugs.

This commit is contained in:
Yagami
2021-03-18 14:48:05 +08:00
parent a8608c6973
commit 1d09fea4a4
3 changed files with 16 additions and 30 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ class execution extends control
$toExecution = $execution->id;
$branches = $this->execution->getBranches($toExecution);
$tasks = $this->execution->getTasks2Imported($toExecution, $branches);
$executions = $this->execution->getsToImport(array_keys($tasks), $execution->type);
$executions = $this->execution->getToImport(array_keys($tasks), $execution->type);
unset($executions[$toExecution]);
unset($tasks[$toExecution]);