mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Bugfix - provide magic links for remote user in magicLink()
This commit is contained in:
parent
678004e15a
commit
528d175baa
2 changed files with 2 additions and 2 deletions
|
@ -2089,7 +2089,7 @@ class Contact extends BaseObject
|
|||
*/
|
||||
public static function magicLink($contact_url, $url = '')
|
||||
{
|
||||
if (!local_user() && remote_user()) {
|
||||
if (!local_user() && !remote_user()) {
|
||||
return $url ?: $contact_url; // Equivalent to: ($url != '') ? $url : $contact_url;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue