forked from devsam/core
쿼리 받아오는 것 수정
This commit is contained in:
+1
-1
@@ -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->queryFirstField('SELECT map FROM ng_games WHERE server_id=%s', $serverID)?:'che';
|
||||
}
|
||||
else{
|
||||
$mapTheme = $admin['map_theme']??'che';
|
||||
|
||||
Reference in New Issue
Block a user