From: Michael Date: Thu, 18 Oct 2018 03:01:34 +0000 (+0000) Subject: Avoid endless loop when trying to fetch contact id X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35da40c2cb57b443e96f27a5c19090d86d8719d5;p=friendica.git Avoid endless loop when trying to fetch contact id --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 4588bb7129..24e9be0424 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1138,7 +1138,7 @@ class Contact extends BaseObject } } - if (!$contact_id && ($data["alias"] != '') && ($data["alias"] != $url)) { + if (!$contact_id && ($data["alias"] != '') && ($data["alias"] != $url) && !$no_update) { $contact_id = self::getIdForURL($data["alias"], $uid, true); }