Fixed a possible NULL value (not valid, at least empty string)

This commit is contained in:
Roland Häder 2022-07-29 12:44:34 +02:00
parent f8ed028013
commit 95ac2aa54b
Signed by: roland
GPG Key ID: C82EDE5DDFA0BA77
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';
}