* Fix a bug.

This commit is contained in:
hufangzhou
2020-12-01 15:18:44 +08:00
parent ae84cb3e33
commit e17c9fc362
+2
View File
@@ -1290,7 +1290,9 @@ class program extends control
}
else
{
$projectIdList = $this->project->getExecutionsByProject($projectID);
$this->project->delete(TABLE_PROJECT, $projectID);
$this->dao->update(TABLE_PROJECT)->set('deleted')->eq(1)->where('id')->in(array_keys($projectIdList))->exec();
$this->dao->update(TABLE_DOCLIB)->set('deleted')->eq(1)->where('project')->eq($projectID)->exec();
$this->project->updateUserView($projectID);
$this->session->set('PRJ', '');