Avoid endless loop with the MagicLink

This commit is contained in:
Michael Vogel 2021-02-21 20:51:00 +01:00
parent 327643d3eb
commit 1935ec566a

View file

@ -2688,10 +2688,6 @@ class Contact
return $destination; return $destination;
} }
if (!empty($contact['uid']) || empty($contact['network'])) {
return self::magicLink($contact['url'], $url);
}
if (empty($contact['id'])) { if (empty($contact['id'])) {
return $destination; return $destination;
} }