mirror of
https://github.com/friendica/friendica
synced 2025-04-30 11:04:29 +02:00
Fix the tests, hopefully
This commit is contained in:
parent
04580ad4fb
commit
e0fdde3287
3 changed files with 125 additions and 90 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue