* add checkPriv() logic in the setMenu() method.

* fix the error of getPairs().
This commit is contained in:
wangchunsheng
2011-06-30 09:29:12 +00:00
parent debef05d37
commit 540fe2a5c9
2 changed files with 10 additions and 8 deletions
-7
View File
@@ -80,13 +80,6 @@ class project extends control
$this->view->products = $products;
$this->view->teamMembers = $teamMembers;
/* Check the privilege. */
if(!$this->project->checkPriv($project))
{
echo(js::alert($this->lang->project->accessDenied));
die(js::locate('back'));
}
return $project;
}