projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2bf61
)
MTrackWeb/Timeline.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Sep 2011 08:56:48 +0000
(16:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Sep 2011 08:56:48 +0000
(16:56 +0800)
MTrackWeb/Timeline.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Timeline.php
b/MTrackWeb/Timeline.php
index
e7d07a6
..
09442f9
100644
(file)
--- a/
MTrackWeb/Timeline.php
+++ b/
MTrackWeb/Timeline.php
@@
-42,7
+42,7
@@
class MTrackWeb_Timeline extends MTrackWeb
$start = empty($_REQUEST['from_date']) ? date('Y-m-01') :
date('Y-m-01', strtotime($_REQUEST['from_date']));
- if (!empty($_REQUEST['viewtype']) && $_REQUEST['viewtype'] = 'summary') {
+ if (!empty($_REQUEST['viewtype']) && $_REQUEST['viewtype'] =
=
'summary') {
// DB_DataObject::debugLevel(1);
$isSummary = true;
$e->whereAdd("changedate >= '$start 00:00:00' AND changedate < '$start 00:00:00' + INTERVAL 1 MONTH");