mirror of
https://github.com/friendica/friendica
synced 2025-04-22 12:30:12 +00:00
Fix default value of contact parameter of OStatus::import in mod/salmon
This commit is contained in:
parent
5d4bafb116
commit
0cc1a07cfa
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue