MTrackWeb.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 05:10:49 +0000 (13:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 05:10:49 +0000 (13:10 +0800)
MTrackWeb.php

index 88e845c..080204f 100644 (file)
@@ -80,7 +80,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
         $p = DB_DataObject::factory('Projects');
         if (!$this->authUser) {
             $p->code = '*PUBLIC';
-            $p->type = 'N';
+             
             $ar = $p->fetchAll('id', 'name');
         } else {
             
@@ -97,7 +97,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
         {
             $p = DB_DataObject::factory('Projects');
              
-            $p->type = 'N';
+           
             $p->get('code', '*PUBLIC');
             $_SESSION[__CLASS__]['active_project_id'] = $p->id;
         }