diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 68bd80f037..5966b8c25e 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -304,6 +304,10 @@ class APContact $apcontact['baseurl'] = null; } + if (empty($apcontact['subscribe'])) { + $apcontact['subscribe'] = null; + } + if (!empty($apcontact['baseurl']) && empty($fetched_contact['gsid'])) { $apcontact['gsid'] = GServer::getID($apcontact['baseurl']); } elseif (!empty($fetched_contact['gsid'])) {