의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Prevents an endless loop when only the non-public contact is available in Contact::magicLinkByContact
This commit is contained in:
부모
1c6bf7d25a
커밋
0fbfb7c970
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
|
@ -2355,6 +2355,9 @@ class Contact extends BaseObject
|
|||
return $url ?: $contact_url; // Equivalent to: ($url != '') ? $url : $contact_url;
|
||||
}
|
||||
|
||||
// Prevents endless loop in case only a non-public contact exists for the contact URL
|
||||
unset($data['uid']);
|
||||
|
||||
return self::magicLinkByContact($data, $contact_url);
|
||||
}
|
||||
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue