projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c9806
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:47:04 +0000
(12:47 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 23 Jun 2011 04:47:04 +0000
(12:47 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
5e534b0
..
59fcde4
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-90,10
+90,11
@@
class MTrackWeb extends HTML_FlexyFramework_Page
if ($val !== false) {
// attempt to set it..
$_SESSION[__CLASS__]['active_project_id'] = $val ;
- $currentProject =
false;
+ $currentProject =
$val ;
// reset to ensure not cached..
}
$ar = $this->userProjects();
+ print_r($ar);
if (!isset($ar[$currentProject])) {
$currentProject = false;
$_SESSION[__CLASS__]['active_project_id'] = false;
@@
-101,8
+102,6
@@
class MTrackWeb extends HTML_FlexyFramework_Page
if ($currentProject !== false) {
return $currentProject;
}
-
-
//print_r($ar);