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