From 564b9e0aa9006e86114ee6e6f42d4bdef33d1c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Thu, 27 Jun 2024 09:21:19 +0200 Subject: [PATCH] Update usage_reporting --- usage_reporting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];