* Fix bug.

This commit is contained in:
Yagami
2021-04-06 14:43:07 +08:00
parent 6e53b91a98
commit eaa478eaa4
+1 -2
View File
@@ -1200,9 +1200,8 @@ class execution extends control
if($this->app->openApp == 'project')
{
if(!empty($copyExecutionID)) $projectID = $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq($copyExecutionID)->fetch('project');
$project = $this->project->getByID($projectID);
$model = $project->model;
$projectID = $this->project->saveState($projectID, $this->project->getPairsByProgram());
$this->project->setMenu($projectID);
}
elseif($this->app->openApp == 'execution')