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

index dac1671..88e845c 100644 (file)
@@ -80,6 +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 {
             
@@ -96,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;
         }