history 받아오는 버그 수정

This commit is contained in:
2018-07-18 09:28:10 +09:00
parent 30c219716d
commit ec7aafa1ff
+1 -1
View File
@@ -46,7 +46,7 @@ $s = $s_year * 12 + $s_month;
$e = $e_year * 12 + $e_month;
if($serverID !== UniqueConst::$serverID){
$mapTheme = $db->queryFirstColumn('SELECT map FROM ng_games WHERE server_id=%s', $serverID)??'che';
$mapTheme = $db->queryFirstColumn('SELECT map FROM ng_games WHERE server_id=%s', $serverID)?:'che';
}
else{
$mapTheme = $admin['map_theme']??'che';