1
This commit is contained in:
parent
a18bc42a28
commit
9e35dba39f
@ -72,7 +72,10 @@ class User extends BaseModel {
|
|||||||
public static function show($row)
|
public static function show($row)
|
||||||
{
|
{
|
||||||
$heroDb = Hero::find($row['hero_id']);
|
$heroDb = Hero::find($row['hero_id']);
|
||||||
$heroId = $heroDb['hero_id'];
|
$heroId = 0;
|
||||||
|
if ($heroDb){
|
||||||
|
$heroId = $heroDb['hero_id'];
|
||||||
|
}
|
||||||
$honorInfo = array();
|
$honorInfo = array();
|
||||||
if ($row['address']){
|
if ($row['address']){
|
||||||
$honorInfo = UserHonor::info($row['address']);
|
$honorInfo = UserHonor::info($row['address']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user