Fix default value of contact parameter of OStatus::import in mod/salmon

This commit is contained in:
Hypolite Petovan 2019-01-22 08:53:53 -05:00
parent 5d4bafb116
commit 0cc1a07cfa
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ class OStatus
$author["contact-id"] = $contact["id"];
$contact = null;
$contact = [];
/*
This here would be better, but we would get problems with contacts from the statusnet addon
@ -231,7 +231,7 @@ class OStatus
GContact::link($gcid, $contact["uid"], $contact["id"]);
} elseif ($contact["network"] != Protocol::DFRN) {
$contact = null;
$contact = [];
}
return $author;