mirror of
https://github.com/friendica/friendica
synced 2025-12-07 20:57:10 +01:00
Merge pull request #10901 from nupplaphil/bug/notify_post
Fix DB errors
This commit is contained in:
commit
e2d2f42802
2 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue