mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02: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
|
@ -184,7 +184,7 @@ function salmon_post(App $a, $xml = '') {
|
|||
// Placeholder for hub discovery.
|
||||
$hub = '';
|
||||
|
||||
$contact_rec = ((DBA::isResult($r)) ? $r[0] : null);
|
||||
$contact_rec = ((DBA::isResult($r)) ? $r[0] : []);
|
||||
|
||||
OStatus::import($data, $importer, $contact_rec, $hub);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue