From 13129699bab220d3f1eae10cbfdb67ad99b4548f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 8 Apr 2017 18:24:07 -0400 Subject: Use user variable instead of current session --- app/Controller/DashboardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']), ))); } -- cgit v1.2.3