mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Fix tests
This commit is contained in:
parent
43a17b6129
commit
126aa6f148
2 changed files with 59 additions and 55 deletions
|
@ -2190,7 +2190,7 @@ class Contact
|
|||
}
|
||||
|
||||
$update = false;
|
||||
$guid = $ret['guid'] ?: Item::guidFromUri($ret['url'], parse_url($ret['url'], PHP_URL_HOST));
|
||||
$guid = ($ret['guid'] ?? '') ?: Item::guidFromUri($ret['url'], parse_url($ret['url'], PHP_URL_HOST));
|
||||
|
||||
// make sure to not overwrite existing values with blank entries except some technical fields
|
||||
$keep = ['batch', 'notify', 'poll', 'request', 'confirm', 'poco', 'baseurl'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue