Merge pull request #6487 from MrPetovan/bug/critical-fixes-after-develop-rebase
Critical fixes after develop rebase
This commit is contained in:
commit
73a81290ff
4 changed files with 27 additions and 23 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