From: Roland Häder Date: Fri, 29 Jul 2022 10:44:34 +0000 (+0200) Subject: Fixed a possible NULL value (not valid, at least empty string) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95ac2aa54bc98e0c2aceec198de6c37aba7914bf;p=friendica.git Fixed a possible NULL value (not valid, at least empty string) --- 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 = ''; }