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

index d625b1f..4d0d68e 100644 (file)
@@ -100,7 +100,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
             $p->get('code', '*PUBLIC');
             $_SESSION[__CLASS__]['active_project_id'] = $p->id;
         }
-        $this->elements['active_project_id']->setValue($ar);
+        $this->elements['active_project_id']->setValue( $_SESSION[__CLASS__]['active_project_id']);
         
         return $p->toArray('id', 'name');