MTrackWeb.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 23 Jun 2011 04:53:37 +0000 (12:53 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 23 Jun 2011 04:53:37 +0000 (12:53 +0800)
MTrackWeb.php

index 76c1717..b9eccad 100644 (file)
@@ -93,6 +93,8 @@ class MTrackWeb extends HTML_FlexyFramework_Page
             $currentProject = $val ; 
             // reset to ensure not cached..
         }
+        
+        
         $ar = $this->userProjects();
         //print_r($ar);
         if (!isset($ar[$currentProject])) {
@@ -124,6 +126,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
             $currentProject = $_SESSION[__CLASS__]['active_project_id'];
             return $id; // always allowed..
         }
+        var_dump($currentProject);
         $currentProject = $_SESSION[__CLASS__]['active_project_id'];
         return $_SESSION[__CLASS__]['active_project_id'];