From ccd177ada6823c27a6408427f19c238fd701c39e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 6 Dec 2017 16:19:11 -0800 Subject: Store PHP sessions in the database --- app/Controller/TaskListController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller/TaskListController.php') diff --git a/app/Controller/TaskListController.php b/app/Controller/TaskListController.php index f2f2f6e5..f2482f22 100644 --- a/app/Controller/TaskListController.php +++ b/app/Controller/TaskListController.php @@ -24,9 +24,9 @@ class TaskListController extends BaseController $search = $this->helper->projectHeader->getSearchQuery($project); if ($this->request->getIntegerParam('show_subtasks')) { - $this->sessionStorage->subtaskListToggle = true; + session_set('subtaskListToggle', true); } elseif ($this->request->getIntegerParam('hide_subtasks')) { - $this->sessionStorage->subtaskListToggle = false; + session_set('subtaskListToggle', false); } if ($this->userSession->hasSubtaskListActivated()) { -- cgit v1.2.3