From 4ddd46c4a20725d2de07ea29d59c209dbd018d58 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Jul 2018 04:49:30 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B3=91=EC=BD=94=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_process.php b/hwe/func_process.php index c88257e8..6a052d1d 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -956,7 +956,7 @@ function process_11(&$general, $type) { $ownCities[$ownCity] = 1; $ownRegions[CityConst::byId($ownCity)->region] = 1; } - $valid = $crewTypeObj->isValid($ownCities, $ownRegions, $admin['year'] - $admin['startyear'], $tech); + $valid = $crewTypeObj->isValid($ownCities, $ownRegions, $year - $startyear, $tech); if(!$valid) { $actLog->pushGeneralActionLog("현재 $dtype 할 수 없는 병종입니다. $dtype 실패. <1>$date");