mirror of
https://github.com/friendica/friendica
synced 2024-12-24 00:00:25 +00:00
Use destination URL when provided in Contact::magicLink
This commit is contained in:
parent
2dcb9926bc
commit
69105928f5
1 changed files with 1 additions and 1 deletions
|
@ -2668,7 +2668,7 @@ class Contact extends BaseObject
|
|||
// Prevents endless loop in case only a non-public contact exists for the contact URL
|
||||
unset($data['uid']);
|
||||
|
||||
return self::magicLinkByContact($data, $contact_url);
|
||||
return self::magicLinkByContact($data, $url ?: $contact_url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue