From 6c66fcdfc3ba04f7f0755443729594793d3b3adc Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 2 Jul 2018 19:45:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=85=EC=98=88=EC=9D=98=20=EC=A0=84?= =?UTF-8?q?=EB=8B=B9=20=EC=8B=9C=EB=82=98=EB=A6=AC=EC=98=A4=EB=AA=85=20?= =?UTF-8?q?=EC=A0=9C=EB=8C=80=EB=A1=9C=20=ED=91=9C=EA=B8=B0=20=EC=95=88?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_hallOfFame.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/a_hallOfFame.php b/hwe/a_hallOfFame.php index 465fd537..310a8318 100644 --- a/hwe/a_hallOfFame.php +++ b/hwe/a_hallOfFame.php @@ -12,7 +12,7 @@ $db = DB::db(); increaseRefresh("명예의전당", 1); $scenarioList= []; -foreach($db->query('SELECT distinct(scenario_name) as name, count(scenario) as cnt, scenario from ng_games order by scenario asc') as $scenarioInfo){ +foreach($db->query('SELECT scenario_name as name, count(scenario) as cnt, scenario from ng_games group by scenario order by scenario asc') as $scenarioInfo){ $scenarioList[$scenarioInfo['scenario']] = $scenarioInfo; }