From: Michael Date: Wed, 25 Mar 2020 07:29:47 +0000 (+0000) Subject: OStatus: Avoid a notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b36e0e58b71ecb6d92aa2fd38341c2be64cc5858;p=friendica.git OStatus: Avoid a notice --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index b707c62c55..bf3a6ef9d5 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -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 = []; }