* Fix bug.

This commit is contained in:
leiyong
2021-04-02 08:14:56 +03:00
parent b8d2feb650
commit fdeab69b16
4 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -4302,7 +4302,7 @@ class upgradeModel extends model
$data->path = ",{$projectID},{$sprint->id},";
$data->type = 'sprint';
$data->acl = $sprint->acl == 'custom' ? 'private' : $sprint->acl;
$data->lifetime = $sprint->type;
$data->lifetime = empty($sprint->lifetime) ? $sprint->type : $sprint->lifetime;
$this->dao->update(TABLE_PROJECT)->data($data)->where('id')->eq($sprint->id)->exec();
}