Allow users to see inactive projects

This commit is contained in:
Frederic Guillot
2016-07-28 16:56:37 -04:00
parent 837173cf93
commit f3e16da4ac
4 changed files with 37 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ class ProjectListController extends BaseController
if ($this->userSession->isAdmin()) {
$project_ids = $this->projectModel->getAllIds();
} else {
$project_ids = $this->projectPermissionModel->getActiveProjectIds($this->userSession->getId());
$project_ids = $this->projectPermissionModel->getProjectIds($this->userSession->getId());
}
$nb_projects = count($project_ids);