diff --git a/usage_reporting.php b/usage_reporting.php index ff752dd..581ff7d 100644 --- a/usage_reporting.php +++ b/usage_reporting.php @@ -71,7 +71,7 @@ function usageReportingView($messages){ '; foreach ($messages as $message){ - if ($message['year'] == date("Y")){ + if ($message['year'] == date("Y") || ($message['year'] == date("Y") - 1 && $message['month'] == "12")){ $height = ($message['count'] / $totalcount) * 100; $fc_year = $message['year'];