1
This commit is contained in:
parent
57239aac33
commit
be917a0fc8
@ -537,7 +537,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
$info['battle_times'] = getXVal($seasonBattleData, 'total_battle_times', 0);
|
$info['battle_times'] = getXVal($seasonBattleData, 'total_battle_times', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
$heroDb = Hero::findByAccountId($accountId,$info['hero_uniid']);
|
$heroDb = Hero::findByAccountId($accountId,$member['hero_uniid']);
|
||||||
if ($heroDb) {
|
if ($heroDb) {
|
||||||
$info['is_valid_battle'] = 1;
|
$info['is_valid_battle'] = 1;
|
||||||
$info['hero_dto'] = Hero::toDto($heroDb);
|
$info['hero_dto'] = Hero::toDto($heroDb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user