summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectListController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/ProjectListController.php')
-rw-r--r--app/Controller/ProjectListController.php2
1 files changed, 1 insertions, 1 deletions
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);