OStatus: Avoid a notice
This commit is contained in:
parent
9604efae83
commit
b36e0e58b7
|
@ -247,7 +247,7 @@ class OStatus
|
||||||
$gcid = GContact::update($contact);
|
$gcid = GContact::update($contact);
|
||||||
|
|
||||||
GContact::link($gcid, $contact["uid"], $contact["id"]);
|
GContact::link($gcid, $contact["uid"], $contact["id"]);
|
||||||
} elseif ($contact["network"] != Protocol::DFRN) {
|
} elseif (empty($contact["network"]) || ($contact["network"] != Protocol::DFRN)) {
|
||||||
$contact = [];
|
$contact = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue