fix: 연감 한번 더 수정

This commit is contained in:
2023-08-10 19:08:21 +09:00
parent dc526c7359
commit 7d2e2945a1
+4 -4
View File
@@ -28,11 +28,11 @@ if ($serverID !== UniqueConst::$serverID) {
if($serverID === UniqueConst::$serverID){
[$currentYear, $currentMonth] = $gameStor->getValuesAsArray(['year', 'month']);
if($f_year === null || $l_year === null){
$f_year = $currentYear;
$f_month = $currentMonth - 1;
$yearMonth = Util::joinYearMonth($currentYear, $currentMonth) - 1;
[$f_year, $f_month] = Util::parseYearMonth($yearMonth);
$l_year = $currentYear;
$l_month = $currentMonth - 1;
$l_year = $f_year;
$l_month = $f_month;
}
}
else{