duqinya преди 5 години
родител
ревизия
b1626977dd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Console/Commands/RankingList.php

+ 1 - 1
app/Console/Commands/RankingList.php

@@ -105,7 +105,7 @@ class RankingList extends Command
         }
         $all_best_author = array_merge($comment_best_author, $general_best_author, $release_best_author);
 
-        $column = array_column($all_best_author, 'generation_quantity');
+        $column = array_column($all_best_author, 'count');
         array_multisort($column, SORT_DESC, $all_best_author);
 
         $all_best_author = array_slice($all_best_author, 0, 10);