From: Alan Knowles Date: Thu, 28 Dec 2017 07:14:32 +0000 (+0800) Subject: MTrackWeb.php X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=510121d6c223e5d1938ecd9e4a728e43b577ee3a MTrackWeb.php --- diff --git a/MTrackWeb.php b/MTrackWeb.php index 363e3015..c19b3bcd 100644 --- a/MTrackWeb.php +++ b/MTrackWeb.php @@ -111,7 +111,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page $ar = $this->userProjects(); - print_r($ar); + if (!isset($ar[$currentProject])) { $currentProject = false; $_SESSION[__CLASS__]['active_project_id'] = false;