projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04de46e
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:19:52 +0000
(14:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:19:52 +0000
(14:19 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
ed53630
..
9403a73
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-74,10
+74,15
@@
class MTrackWeb extends HTML_FlexyFramework_Page
}
- function currentProject()
+ function currentProject(
$val = false
)
{
// we do need the option for me to look at all projects...
+ if ($val !== false) {
+ // attempt to set it..
+ $_SESSION[__CLASS__]['active_project_id'] = $val ;
+ }
+
$p = DB_DataObject::factory('Projects');
$ar = array();
if ($this->authUser) {