* [bug#68892,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2026-01-07 01:10:53 +00:00
parent b85a18f362
commit f724589a1e
+1
View File
@@ -4045,6 +4045,7 @@ class upgradeModel extends model
$project->lastEditedBy = $account;
$project->lastEditedDate = $now;
$project->acl = isset($data->projectAcl) ? $data->projectAcl : 'open';
$project->storyType = 'story,requirement';
$this->dao->insert(TABLE_PROJECT)->data($project)
->batchcheck('name', 'notempty')
->check('name', 'unique', "type='project' AND parent='{$programID}' AND deleted='0'")