From c1559f9ac82bcb2ccc558d48bf87f94c27fad4ba Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Fri, 6 Aug 2021 18:55:45 +0800 Subject: [PATCH] * Fix whitelist bug. --- module/personnel/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/personnel/model.php b/module/personnel/model.php index 4d7535b0b7..029c6bcd7a 100644 --- a/module/personnel/model.php +++ b/module/personnel/model.php @@ -575,7 +575,7 @@ class personnelModel extends model $projectWhitelist = $this->getWhitelistAccount($sprint->project, 'project'); $newWhitelist = array_merge($projectWhitelist, $accounts); $source = $source == 'upgrade' ? 'upgrade' : 'sync'; - $this->updateWhitelist($newWhitelist, 'project', $sprint->project, 'whitelist', $source); + $this->updateWhitelist($newWhitelist, 'project', $sprint->project, 'whitelist', $source, $updateType); /* Removal of whitelisted persons from projects. */ if($updateType == 'replace')