fix: 연감 static var 출력 버그 수정

This commit is contained in:
2022-02-25 01:24:02 +09:00
parent e3e009fe5b
commit 07dc78784e
+1 -1
View File
@@ -118,7 +118,7 @@ $nations = $history['nations'];
var lastMonth = <?= $e_month ?>; var lastMonth = <?= $e_month ?>;
var selectYear = <?= $year ?>; var selectYear = <?= $year ?>;
var selectMonth = <?= $month ?>; var selectMonth = <?= $month ?>;
var nations = <?= $nations ? $history['nations'] : '{}' ?>; var nations = <?= $nations ? JSON::encode($history['nations']) : '{}' ?>;
</script> </script>
</head> </head>