projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c93a4b
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:55:44 +0000
(12:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:55:44 +0000
(12:55 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
b9eccad
..
b675e58
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-87,6
+87,10
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$_SESSION[__CLASS__] = array();
}
+ if (isset($_SESSION[__CLASS__]['active_project_id'])) {
+ $currentProject = $_SESSION[__CLASS__]['active_project_id'];
+ }
+
if ($val !== false) {
// attempt to set it..
$_SESSION[__CLASS__]['active_project_id'] = $val ;
@@
-95,6
+99,8
@@
class MTrackWeb extends HTML_FlexyFramework_Page
}
+
+
$ar = $this->userProjects();
//print_r($ar);
if (!isset($ar[$currentProject])) {