From 07c0e40ad20be2c3980647e30a30f508d5da303d Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 28 Jan 2013 02:56:52 +0000 Subject: [PATCH] * fix a bug : check priv of no productProjects. --- module/project/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/model.php b/module/project/model.php index 53205aafb8..ec72f82507 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -565,7 +565,7 @@ class projectModel extends model } if(!$project->product) { - $noProducts[] = $project; + if($this->checkPriv($projects[$project->id])) $noProducts[] = $project; unset($list[$id][$ID]); } }