Namespace 실수 해결.

수동 Event 등록시 Date가 아니라 date로 입력했던 문제 해결
This commit is contained in:
2018-04-01 23:44:52 +09:00
parent a70bf667a4
commit 0cac139f65
7 changed files with 10 additions and 5 deletions
+3
View File
@@ -131,6 +131,9 @@ function getGeneralHistoryAll(int $no) {
}
function pushWorldHistory(array $history, $year=null, $month=null) {
if(!$history){
return;
}
$db = DB::db();
if($year === null || $month === null){
$game = $db->queryFirstRow('SELECT year, month FROM game LIMIT 1');