projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb4d17
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 11:36:17 +0000
(19:36 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 11:36:17 +0000
(19:36 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
f189564
..
4e96856
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-79,6
+79,9
@@
class MTrackWeb extends HTML_FlexyFramework_Page
{
// we do need the option for me to look at all projects...
static $currentProject = false;
+ if (empty($_SESSION[__CLASS__])) {
+ $_SESSION[__CLASS__] = array();
+ }
if ($val !== false) {
// attempt to set it..
$_SESSION[__CLASS__]['active_project_id'] = $val ;