From: Michael Date: Thu, 4 Jun 2020 22:08:31 +0000 (+0000) Subject: Remove the "addr" when webfinger fails X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b70eefbb636e48ec603f4cad366e0158c80e947;p=friendica.git Remove the "addr" when webfinger fails --- diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 73c3ad8513..68bd80f037 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -295,6 +295,8 @@ class APContact if (!empty($data['subscribe'])) { $apcontact['subscribe'] = $data['subscribe']; } + } else { + $apcontact['addr'] = null; } }