* [error] modify array merge to array union.

This commit is contained in:
sunguangming
2025-04-17 16:53:04 +08:00
committed by 刘刚
parent e20a62ae10
commit 045d1ac79a
+5 -1
View File
@@ -2027,7 +2027,11 @@ class userModel extends model
{
if(isset($stakeholderGroups[$productID]))
{
$stakeholderGroups[$productID] = array_merge($stakeholderGroups[$productID], $stakeholders);
$stakeholderGroups[$productID] = arrayUnion($stakeholderGroups[$productID], $stakeholders);
}
else
{
$stakeholderGroups[$productID] = $stakeholders;
}
}
}