diff --git a/hwe/a_history.php b/hwe/a_history.php index 5932b08d..d20c8cf8 100644 --- a/hwe/a_history.php +++ b/hwe/a_history.php @@ -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, ] ])?> @@ -205,12 +207,6 @@ $nations = $history['nations']; - [ - 'serverNick' => DB::prefix(), - 'serverID' => UniqueConst::$serverID, - ] - ])?>