MTrackWeb/Timeline.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Aug 2011 10:04:03 +0000 (18:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Aug 2011 10:04:03 +0000 (18:04 +0800)
MTrackWeb/Timeline.php

index a5ac065..8d8eaf1 100644 (file)
@@ -73,7 +73,7 @@ class MTrackWeb_Timeline extends MTrackWeb
             if ($day !== $last_day) {
                 $add['first_of_day'] = 1;
             }
-            
+            $last_day = $day;
             $add['object'] = $h->objectCached();
     
             $this->events[] = $add;