From 147916062b3a3d3c2624f54816d8f16253403bf0 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 10 Jun 2021 16:28:17 +0200 Subject: [PATCH] :art: Fix local variable names Was copy/paste and wasn't consistent with the functionnality :/ --- core/log.class.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/log.class.inc.php b/core/log.class.inc.php index f16e42d95..e90af34ed 100644 --- a/core/log.class.inc.php +++ b/core/log.class.inc.php @@ -398,10 +398,10 @@ class MonthlyRotatingLogFileNameBuilder extends RotatingLogFileNameBuilder */ protected function GetFileSuffix($oDate) { - $sWeekYear = $oDate->format('o'); - $sWeekNumber = $oDate->format('m'); + $sMonthYear = $oDate->format('o'); + $sMonthNumber = $oDate->format('m'); - return $sWeekYear.'-month'.$sWeekNumber; + return $sMonthYear.'-month'.$sMonthNumber; } /**