projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de624fb
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:53:37 +0000
(12:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:53:37 +0000
(12:53 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
76c1717
..
b9eccad
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-93,6
+93,8
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$currentProject = $val ;
// reset to ensure not cached..
}
+
+
$ar = $this->userProjects();
//print_r($ar);
if (!isset($ar[$currentProject])) {
@@
-124,6
+126,7
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$currentProject = $_SESSION[__CLASS__]['active_project_id'];
return $id; // always allowed..
}
+ var_dump($currentProject);
$currentProject = $_SESSION[__CLASS__]['active_project_id'];
return $_SESSION[__CLASS__]['active_project_id'];