From: Michael Date: Sun, 29 Nov 2020 11:43:07 +0000 (+0000) Subject: Fix structure error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a68810301ad6f7e13553d68efc9079f7de541577;p=friendica.git Fix structure error --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index a21f09544d..a6e0df4c33 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -917,8 +917,7 @@ class OStatus $condition = ['item-uri' => $related_uri, 'protocol' => [Conversation::PARCEL_DFRN, Conversation::PARCEL_DIASPORA_DFRN, Conversation::PARCEL_LEGACY_DFRN, Conversation::PARCEL_LOCAL_DFRN, Conversation::PARCEL_DIRECT, Conversation::PARCEL_SALMON]]; - if (DBA::exists('conversation', $condition)) { - $conversation = DBA::selectFirst('conversation', ['source', 'protocol'], $condition); + $conversation = DBA::selectFirst('conversation', ['source', 'protocol'], $condition); if (DBA::isResult($conversation)) { $stored = true; $xml = $conversation['source'];