1
This commit is contained in:
parent
8b90fe7e5a
commit
1dda2e7789
@ -465,7 +465,7 @@ class UserController extends BaseAuthedController {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$userInfo = User::Info($userDb);
|
$userInfo = User::Info($userDb);
|
||||||
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userDb['hero_uniid']);
|
$heroDb = Hero::findByAccountId(myself()->_getAccountId(), $userInfo['hero_uniid']);
|
||||||
if (!$heroDb) {
|
if (!$heroDb) {
|
||||||
$this->_rspErr(1, 'Hero does not exist');
|
$this->_rspErr(1, 'Hero does not exist');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user