projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615f2bc
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:26:18 +0000
(14:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:26:18 +0000
(14:26 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
3f2d2aa
..
f189564
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-104,7
+104,9
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$p = DB_DataObject::factory('Projects');
$p->get('code', '*PUBLIC');
+
$_SESSION[__CLASS__]['active_project_id'] = $p->id;
+ $currentProject = $_SESSION[__CLASS__]['active_project_id'];
return $p->id; // always allowed..
}
$currentProject = $_SESSION[__CLASS__]['active_project_id'];