1
This commit is contained in:
parent
5224751608
commit
fc24341c3d
@ -127,7 +127,7 @@ class SeasonController extends BaseAuthedController {
|
||||
$this->saveRankingList($r,$this->rankingUnid,$rankList);
|
||||
}
|
||||
foreach ($rankList as $v){
|
||||
if ($this->userInfo['rank'] == $v['rank']){
|
||||
if ($this->userInfo['rank'] == $v['rank'] && count($list) < 20){
|
||||
array_push($list,$v);
|
||||
}
|
||||
}
|
||||
@ -186,7 +186,7 @@ class SeasonController extends BaseAuthedController {
|
||||
}
|
||||
|
||||
foreach ($rankList as $v){
|
||||
if ($rank_param == $v['rank']){
|
||||
if ($rank_param == $v['rank'] && count($list) < 20){
|
||||
array_push($list,$v);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user