From 6c4cb484daf327f2f0a14f117cc5fe080f2c45ff Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 10 Aug 2023 19:06:01 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=B0=EA=B0=90=201=EA=B0=9C=EC=9B=94?= =?UTF-8?q?=EC=B0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/v_history.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hwe/v_history.php b/hwe/v_history.php index ddaa94cf..c8ebdad2 100644 --- a/hwe/v_history.php +++ b/hwe/v_history.php @@ -28,16 +28,16 @@ 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; + $f_year = $currentYear - 1; + $f_month = $currentMonth - 1; - $l_year = $currentYear; - $l_month = $currentMonth; + $l_year = $currentYear - 1; + $l_month = $currentMonth - 1; } } else{ [$currentYear, $currentMonth] = [$l_year, $l_month]; - if($f_year === null || $f_year === null){ + if($f_year === null || $l_year === null){ die('잘못된 요청입니다.'); } }