summaryrefslogtreecommitdiff
path: root/app/Controller/DashboardController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/DashboardController.php')
-rw-r--r--app/Controller/DashboardController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/DashboardController.php b/app/Controller/DashboardController.php
index 0ff6f20e..6758381e 100644
--- a/app/Controller/DashboardController.php
+++ b/app/Controller/DashboardController.php
@@ -56,7 +56,7 @@ class DashboardController extends BaseController
'title' => t('Subtasks overview for %s', $this->helper->user->getFullname($user)),
'paginator' => $this->subtaskPagination->getDashboardPaginator($user['id']),
'user' => $user,
- 'nb_subtasks' => $this->subtaskModel->countByAssigneeAndTaskStatus($this->userSession->getId()),
+ 'nb_subtasks' => $this->subtaskModel->countByAssigneeAndTaskStatus($user['id']),
)));
}