From f3e16da4ac8eb5f06c7f8a0aed49fd3dd11817ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 28 Jul 2016 16:56:37 -0400 Subject: Allow users to see inactive projects --- app/Controller/ProjectListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/ProjectListController.php') diff --git a/app/Controller/ProjectListController.php b/app/Controller/ProjectListController.php index e1172400..4de73c97 100644 --- a/app/Controller/ProjectListController.php +++ b/app/Controller/ProjectListController.php @@ -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); -- cgit v1.2.3