fix reports

This commit is contained in:
Kavalar 2024-02-09 15:10:45 +03:00
parent 6d23a9825a
commit 43b76df601

View File

@ -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;
}
/**