From 35da40c2cb57b443e96f27a5c19090d86d8719d5 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 Oct 2018 03:01:34 +0000 Subject: [PATCH] Avoid endless loop when trying to fetch contact id --- 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 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); } -- 2.39.5