From bde68b776f40145d07c8ef0c5e4df6aff2e46cf0 Mon Sep 17 00:00:00 2001 From: Karsten Heiken Date: Mon, 1 Aug 2011 14:54:22 +0200 Subject: [PATCH] Unset active project when viewing the dashboard --- application/controllers/dashboard.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/dashboard.php b/application/controllers/dashboard.php index 0c8773d..739ebc3 100644 --- a/application/controllers/dashboard.php +++ b/application/controllers/dashboard.php @@ -41,6 +41,7 @@ class Dashboard extends CI_Controller { } public function index() { + $this->session->unset_userdata('active_project'); $this->load->view('dashboard'); } } \ No newline at end of file