From 89f7ee2cc58e48e3473a949c2d95e2dad1075171 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 17 Jul 2021 04:57:21 +0000 Subject: [PATCH] Prevent endless loop when updating contact by probe --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);