]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact.php
Merge pull request #8007 from MrPetovan/task/7984-add-profile-url-search
[friendica.git] / src / Model / APContact.php
index e3c3a0a12b2f09fc51c7ca403e6f2c4ac91a0c65..c535034487c2946a7e61d9be573280af5655f7c0 100644 (file)
@@ -192,6 +192,7 @@ class APContact extends BaseObject
                        $apcontact['addr'] = '';
                }
 
+               $apcontact['pubkey'] = null;
                if (!empty($compacted['w3id:publicKey'])) {
                        $apcontact['pubkey'] = trim(JsonLD::fetchElement($compacted['w3id:publicKey'], 'w3id:publicKeyPem', '@value'));
                }