Merge pull request #8453 from annando/notice

OStatus: Avoid a notice
This commit is contained in:
Tobias Diekershoff
2020-03-25 12:06:04 +01:00
committed by GitHub

View File

@@ -247,7 +247,7 @@ class OStatus
$gcid = GContact::update($contact);
GContact::link($gcid, $contact["uid"], $contact["id"]);
} elseif ($contact["network"] != Protocol::DFRN) {
} elseif (empty($contact["network"]) || ($contact["network"] != Protocol::DFRN)) {
$contact = [];
}