From 1c4246dbf02e527f4bf39c609b043a9c4d9d0e6d Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 5 Sep 2012 07:14:35 +0000 Subject: [PATCH] * fix bug that checkpriv for private product. --- module/product/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/product/model.php b/module/product/model.php index 994550cabe..810f2f905a 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -137,6 +137,7 @@ class productModel extends model /* Get team members. */ $teamMembers = $this->getTeamMemberPairs($product); + $teamMembers = array_flip($teamMembers); /* Private. */ if($product->acl == 'private')