summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectListController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-28 16:56:37 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-28 16:56:37 -0400
commitf3e16da4ac8eb5f06c7f8a0aed49fd3dd11817ec (patch)
tree1c4ea8b49d63077a49a99c79fd7a96fcaeefadc4 /app/Controller/ProjectListController.php
parent837173cf935a7f5f9c12c69f131a63e0f181d8f3 (diff)
Allow users to see inactive projects
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);