From 246dff9c87cce210b33d99ac57c62db80b05f241 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 26 Jun 2018 16:27:51 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=85=EC=9E=A5=EC=9D=BC=EB=9E=8C=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_bestGeneral.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php index e0fbb980..98d512cd 100644 --- a/hwe/a_bestGeneral.php +++ b/hwe/a_bestGeneral.php @@ -127,7 +127,7 @@ foreach($types as $idx=>[$typeName, $typeValue, $typeFunc]){ usort($typeGenerals, function($lhs, $rhs){ //내림차순 - return $rhs['value'] - $lhs['value']; + return -($lhs['value'] <=> $rhs['value']); }); echo $templates->render('hallOfFrame', [