From: Michael Date: Sat, 17 Jul 2021 04:57:21 +0000 (+0000) Subject: Prevent endless loop when updating contact by probe X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=89f7ee2cc58e48e3473a949c2d95e2dad1075171;p=friendica.git Prevent endless loop when updating contact by probe --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 12cba0c080..6cda3e72ad 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2117,7 +2117,7 @@ class Contact } if (Strings::normaliseLink($ret['url']) != Strings::normaliseLink($contact['url'])) { - $cid = self::getIdForURL($ret['url']); + $cid = self::getIdForURL($ret['url'], 0, false); if (!empty($cid) && ($cid != $id)) { Logger::notice('URL of contact changed.', ['id' => $id, 'new_id' => $cid, 'old' => $contact['url'], 'new' => $ret['url']]); return self::updateFromProbeArray($cid, $ret);