diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 7593711e56..db3360dd16 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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 = ''; }