fix: 연감 staticValues 중복

This commit is contained in:
2022-03-23 23:51:29 +09:00
parent 45203a6717
commit 1c40c2caf9
2 changed files with 4 additions and 8 deletions
+3 -7
View File
@@ -117,7 +117,9 @@ $nations = $history['nations'];
'lastMonth' => $e_month,
'selectYear' => $year,
'selectMonth' => $month,
'nations' => $nations ? JSON::encode($history['nations']) : '{}'
'nations' => $nations ? $history['nations'] : [],
'serverNick' => DB::prefix(),
'serverID' => UniqueConst::$serverID,
]
])?>
<?= WebUtil::printDist('ts', ['common', 'history']) ?>
@@ -205,12 +207,6 @@ $nations = $history['nations'];
<td><?= banner() ?> </td>
</tr>
</table>
<?= WebUtil::printStaticValues([
'staticValues' => [
'serverNick' => DB::prefix(),
'serverID' => UniqueConst::$serverID,
]
])?>
<script>
<?php if($isCurrent): ?>
reloadWorldMap({