OStatus: Avoid a notice
This commit is contained in:
parent
9604efae83
commit
b36e0e58b7
1 changed files with 1 additions and 1 deletions
|
@ -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 = [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue