Merge pull request #11795 from Quix0r/fixes/type-errors
Fixes/type errors
This commit is contained in:
commit
f97a80e2cb
|
@ -2969,7 +2969,7 @@ class Contact
|
|||
|
||||
$cdata = self::getPublicAndUserContactID($contact['id'], $contact['uid']);
|
||||
|
||||
DI::notification()->deleteForUserByVerb($contact['uid'], Activity::FOLLOW, ['actor-id' => $contact['public']]);
|
||||
DI::notification()->deleteForUserByVerb($contact['uid'], Activity::FOLLOW, ['actor-id' => $cdata['public']]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -985,7 +985,7 @@ class DFRN
|
|||
Logger::notice('Unable to find contact details for ' . $contact['id'] . ' - ' . $contact['addr']);
|
||||
return -22;
|
||||
}
|
||||
$pubkey = $fcontact['pubkey'];
|
||||
$pubkey = $fcontact['pubkey'] ?? '';
|
||||
} else {
|
||||
$pubkey = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue