Avoid endless loop when trying to fetch contact id
This commit is contained in:
parent
e254ace9d5
commit
35da40c2cb
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user