fix reports
This commit is contained in:
parent
6d23a9825a
commit
43b76df601
@ -138,7 +138,7 @@ class Reports extends \yii\db\ActiveRecord
|
||||
public static function getFio($data)
|
||||
{
|
||||
$user_card = UserCard::findOne(['id' => $data->user_card_id]);
|
||||
return $user_card->fio;
|
||||
return $user_card->fio ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user