mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:04:24 +02:00
Fixes several notices
This commit is contained in:
parent
2a402ef5ed
commit
84a9a5b174
3 changed files with 11 additions and 8 deletions
|
@ -1909,7 +1909,7 @@ class Contact
|
|||
$ret['pubkey'] = $new_pubkey;
|
||||
}
|
||||
|
||||
if (($ret['addr'] != $contact['addr']) || (!empty($ret['alias']) && ($ret['alias'] != $contact['alias']))) {
|
||||
if ((!empty($ret['addr']) && ($ret['addr'] != $contact['addr'])) || (!empty($ret['alias']) && ($ret['alias'] != $contact['alias']))) {
|
||||
$ret['uri-date'] = DateTimeFormat::utcNow();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue