* add checkPriv() logic in the setMenu() method.
* fix the error of getPairs().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user