Browse Source

Fix salmon selection

pull/10901/head
Philipp 8 months ago
parent
commit
2958726804
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
  1. 2
      mod/salmon.php

2
mod/salmon.php

@ -158,7 +158,7 @@ function salmon_post(App $a, $xml = '') {
*
*/
$contact = DBA::selectFirst('contact', ["`network` IN (?, ?) AND (`nurl` = ? OR `alias` = ? OR `alias` = ?) AND `uid` = ?",
$contact = DBA::selectFirst('contact', [], ["`network` IN (?, ?) AND (`nurl` = ? OR `alias` = ? OR `alias` = ?) AND `uid` = ?",
Protocol::OSTATUS, Protocol::DFRN, Strings::normaliseLink($author_link), $author_link, Strings::normaliseLink($author_link), $importer['uid']]);
if (!empty($contact['gsid'])) {

Loading…
Cancel
Save