This commit is contained in:
hujiabin 2022-11-16 19:47:24 +08:00
parent 6322d6cbae
commit b54db6f9b5

View File

@ -169,7 +169,7 @@ class EventRankingController extends BaseAuthedController
$guildDb = Guild::find($row['guild_id']);
// $guildDb = null;
if (!$userInfo['guild_id']){
$this->myRanked = array();
$this->myRanked['guild'] = array();
}else if($userInfo['guild_id'] && $userInfo['guild_id'] == $row['guild_id']){
$this->myRanked['ranked'] = $ranked;
$this->myRanked['user'] = array();