Merge pull-request #903
This commit is contained in:
@@ -290,7 +290,7 @@ class ProjectPermission extends Base
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of allowed projects for a given user
|
* Return a list of allowed active projects for a given user
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param integer $user_id User id
|
* @param integer $user_id User id
|
||||||
@@ -302,7 +302,7 @@ class ProjectPermission extends Base
|
|||||||
return $this->project->getListByStatus(Project::ACTIVE);
|
return $this->project->getListByStatus(Project::ACTIVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->getMemberProjects($user_id);
|
return $this->getActiveMemberProjects($user_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user