* Fix type error.

This commit is contained in:
dingguodong
2023-09-14 09:13:07 +08:00
parent ee6ec43d69
commit 174da88310
+1 -1
View File
@@ -481,7 +481,7 @@ class executionTao extends executionModel
->andWhere('account')->notin(array_values($members))
->andWhere('account')->ne($oldExecution->openedBy)
->exec();
if(isset($execution->project) and $execution->project) $this->addProjectMembers($execution->project, $teamMembers);
if(isset($execution->project) and $execution->project) $this->addProjectMembers((int)$execution->project, $teamMembers);
/* Fix bug#3074, Update views for team members. */
if($execution->acl != 'open') $this->updateUserView($executionID, 'sprint', $changedAccounts);