|
@@ -509,8 +509,8 @@ class MemberService
|
|
|
$nickname = $inviteMember['info']['member_info_nickname'];
|
|
|
}
|
|
|
$certname = '';
|
|
|
- if (!empty($inviteMember['cert']) && !empty($inviteMember['cert']['member_info_nickname'])) {
|
|
|
- $nickname = $inviteMember['cert']['member_cert_name'];
|
|
|
+ if (!empty($inviteMember['cert']) && !empty($inviteMember['cert']['member_cert_name'])) {
|
|
|
+ $certname = $inviteMember['cert']['member_cert_name'];
|
|
|
}
|
|
|
$member['invite_name'] = MemberService::getMemberName($mobile, $certname, $nickname);
|
|
|
$member['invite_code'] = $inviteMember['member_invite_code'] ?? '';
|