mirror of
https://github.com/friendica/friendica
synced 2024-11-19 09:43:45 +00:00
Merge pull request #8733 from annando/fix-notice
Fix Notice "Undefined index: subscribe"
This commit is contained in:
commit
2e0151bec0
1 changed files with 4 additions and 0 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Reference in a new issue