* Fix bug.

This commit is contained in:
Yagami
2020-10-22 09:34:52 +08:00
parent 61365c9f78
commit a18eff2a3c
4 changed files with 15 additions and 11 deletions
+3
View File
@@ -1996,6 +1996,9 @@ class projectModel extends model
$this->loadModel('user')->updateUserView($projectID, $projectType, $changedAccounts);
$childSprints = $this->dao->select('id')->from(TABLE_PROJECT)->where('path')->like("%,$projectID,%")->andWhere('type')->in('sprint,stage')->fetchPairs();
if($childSprints) $this->user->updateUserView($childSprints, 'sprint', $changedAccounts);
$products = $this->getProducts($projectID, false);
if($products) $this->user->updateUserView(array_keys($products), 'product', $changedAccounts);
}