From 29587268044a9d51939d8591ae19b5c76ab16541 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 19 Oct 2021 22:25:49 +0200 Subject: [PATCH] Fix salmon selection --- mod/salmon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/salmon.php b/mod/salmon.php index de8d97133..3d32d3e3a 100644 --- a/mod/salmon.php +++ b/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'])) {