Fix Notice "Undefined index: subscribe"

pull/8733/head
Michael 2020-06-05 10:44:36 +00:00
rodzic ff9f2dd6cc
commit 7374104f29
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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'])) {