From 2fc3496f90a5b2b9696d1d812641b3050262b850 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 3 Aug 2021 16:22:31 +0800 Subject: [PATCH] * fix bug #14015. --- module/project/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/model.php b/module/project/model.php index 0072db8abf..714be96150 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -1534,10 +1534,10 @@ class projectModel extends model public function updateInvolvedUserView($projectID, $users = array()) { $products = $this->dao->select('product')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchPairs('product', 'product'); - $this->loadModel('user')->updateUserView($products, 'product', $stakeholder); + $this->loadModel('user')->updateUserView($products, 'product', $users); $executions = $this->dao->select('id')->from(TABLE_EXECUTION)->where('project')->eq($projectID)->fetchPairs('id', 'id'); - if($executions) $this->user->updateUserView($executions, 'sprint', $stakeholder); + if($executions) $this->user->updateUserView($executions, 'sprint', $users); } /**