kopia lustrzana https://github.com/friendica/friendica
Merge pull request #10856 from MrPetovan/bug/fatal-errors
Move false-coalescing operator outside of the parameter in mod/salmonpull/10858/head
commit
d335c5038a
|
@ -176,7 +176,9 @@ function salmon_post(App $a, $xml = '') {
|
|||
// Placeholder for hub discovery.
|
||||
$hub = '';
|
||||
|
||||
OStatus::import($data, $importer, $contact ?: [], $hub);
|
||||
$contact = $contact ?: [];
|
||||
|
||||
OStatus::import($data, $importer, $contact, $hub);
|
||||
|
||||
throw new \Friendica\Network\HTTPException\OKException();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue