mirror of
https://github.com/friendica/friendica
synced 2024-11-18 19:43:46 +00:00
Fixes "Undefined index: nick"
This commit is contained in:
parent
07ef1edfd6
commit
e151a2dc41
1 changed files with 2 additions and 2 deletions
|
@ -2211,10 +2211,10 @@ class Contact
|
|||
}
|
||||
|
||||
if ((!empty($ret['addr']) && ($ret['addr'] != $contact['addr'])) || (!empty($ret['alias']) && ($ret['alias'] != $contact['alias']))) {
|
||||
$ret['uri-date'] = DateTimeFormat::utcNow();
|
||||
$ret['uri-date'] = $updated;
|
||||
}
|
||||
|
||||
if (($ret['name'] != $contact['name']) || ($ret['nick'] != $contact['nick'])) {
|
||||
if ((!empty($ret['name']) && ($ret['name'] != $contact['name'])) || (!empty($ret['nick']) && ($ret['nick'] != $contact['nick']))) {
|
||||
$ret['name-date'] = $updated;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue