diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 1950851b..c593a0b4 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -452,9 +452,9 @@ class GroupsStatistics extends BaseController while ($start_Time < $end_Time) { if($i > 0){ $start_Time = $start_Time + 86400; - $start = date('Y-m-d H:i:s', $start_Time); } + $start = date('Y-m-d H:i:s', $start_Time); $end = date('Y-m-d H:i:s', $start_Time + 86400); $name = date('Y-m-d', $start_Time); $times[] = ['name' => $name, 'start' => $start, 'end' => $end];