From 6ec86fba1c656486524bfafc84daf8762c148994 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 28 Apr 2020 02:14:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=A9=EB=9E=91=EA=B5=B0=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/_admin5.php | 2 +- hwe/b_dipcenter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/_admin5.php b/hwe/_admin5.php index ecbc1053..c4b7d983 100644 --- a/hwe/_admin5.php +++ b/hwe/_admin5.php @@ -245,7 +245,7 @@ for($i=0; $i < $nationCount; $i++) {  {$nation['dex5']}   {$gen['crew']}/{$gen['leadership']}00   {$city['pop']}/{$city['pop_max']}  -  ".sprintf('%.1f',$city['pop']/$city['pop_max']*100)."%  +  ".sprintf('%.1f',$city['pop']/Util::valueFit($city['pop_max'],1)*100)."%   {$city['agri']}%   {$city['comm']}%   {$city['secu']}%  diff --git a/hwe/b_dipcenter.php b/hwe/b_dipcenter.php index e920717b..91ddfed8 100644 --- a/hwe/b_dipcenter.php +++ b/hwe/b_dipcenter.php @@ -97,7 +97,7 @@ $dipStateList = Util::convertArrayToDict($db->query('SELECT you,state,term FROM foreach(getAllNationStaticInfo() as $staticNation): //속령수 $staticNationID = $staticNation['nation']; - $cityCnt = $cityCntList[$staticNation['nation']]; + $cityCnt = $cityCntList[$staticNation['nation']]??0; $dipStateText = '-'; $dipTermText = '-';