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 = '-';