diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-04-08 18:24:07 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-04-08 18:24:07 -0400 |
commit | 13129699bab220d3f1eae10cbfdb67ad99b4548f (patch) | |
tree | ed6a741005967628cb1eed04e3825e25e4ba8271 | |
parent | a9aed917dd28717696f9f68905338108fb015342 (diff) |
Use user variable instead of current session
-rw-r--r-- | app/Controller/DashboardController.php | 2 |
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']), ))); } |