Use destination URL when provided in Contact::magicLink
This commit is contained in:
@@ -2668,7 +2668,7 @@ class Contact extends BaseObject
|
|||||||
// Prevents endless loop in case only a non-public contact exists for the contact URL
|
// Prevents endless loop in case only a non-public contact exists for the contact URL
|
||||||
unset($data['uid']);
|
unset($data['uid']);
|
||||||
|
|
||||||
return self::magicLinkByContact($data, $contact_url);
|
return self::magicLinkByContact($data, $url ?: $contact_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user