Avoid endless loop when trying to fetch contact id
This commit is contained in:
parent
e254ace9d5
commit
35da40c2cb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
$contact_id = self::getIdForURL($data["alias"], $uid, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue