Kirin 1 rok temu
rodzic
commit
753893328a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/controller/api/v1/PublicController.php

+ 1 - 1
app/controller/api/v1/PublicController.php

@@ -66,7 +66,7 @@ class PublicController extends BaseController
         foreach ($fee as $v) {
             $fees[$v['month_number']] = (string)$v['fee'];
         }
-        ksort($fees, SORT_DESC);
+        krsort($fees);
         $sum_money = 0;
         $money = 800000;
         $extract_fee = 0;