projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333911b
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Mar 2011 10:17:46 +0000
(18:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Mar 2011 10:17:46 +0000
(18:17 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
27fbe9c
..
fd78385
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-68,6
+68,7
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$pd->project_id = $project_id;
$pd->user_id = $this->authUser->id;
$pd->whereAdd("role != ''");
+
if (!$pd->count()) {
return false;
}
@@
-102,6
+103,8
@@
class MTrackWeb extends HTML_FlexyFramework_Page
$ar = $p->fetchAll('id', 'name');
}
+ print_r($ar);
+
if (empty($_SESSION[__CLASS__]['active_project_id']) ||
!isset($ar[$_SESSION[__CLASS__]['active_project_id']]))
{