Merge branch 'sprint/hufangzhou_bug_32476' into 'master'

* Fix bug #32476.

See merge request easycorp/zentaopms!7103
This commit is contained in:
王怡栋
2023-03-01 10:15:15 +00:00
+1 -1
View File
@@ -1161,7 +1161,7 @@ class programplanModel extends model
$this->updateSubStageAttr($planID, $plan->attribute);
if($plan->acl != 'open')
{
$planIdList = $this->dao->select('id')->from(TABLE_EXECUTION)->where('path')->like("%,$planID,%")->andWhere('type')->eq('stage')->fetchAll('id');
$planIdList = $this->dao->select('id')->from(TABLE_EXECUTION)->where('path')->like("%,$planID,%")->andWhere('type')->ne('project')->fetchAll('id');
$this->loadModel('user')->updateUserView(array_keys($planIdList), 'sprint');
}