Fix the tests, hopefully

This commit is contained in:
Michael 2021-07-09 17:13:54 +00:00
parent 04580ad4fb
commit e0fdde3287
3 changed files with 125 additions and 90 deletions

View file

@ -1077,7 +1077,7 @@ class Contact
if (!empty($contact)) {
$contact_id = $contact["id"];
if (empty($update)) {
if (empty($update) && (!empty($contact['uri-id']) || is_bool($update))) {
Logger::debug('Contact found', ['url' => $url, 'uid' => $uid, 'update' => $update, 'cid' => $contact_id]);
return $contact_id;
}