From 1e7a55180a3740f4b6e5ed8dd40ecb6b9d84cbc4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 5 May 2022 22:40:20 +0200 Subject: [PATCH] Update src/Content/Conversation.php Co-authored-by: Hypolite Petovan --- src/Content/Conversation.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index 9f93d0efa..4ad1890a2 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -963,8 +963,7 @@ class Conversation $condition = DBA::mergeConditions($condition, ["`uid` IN (0, ?) AND (`vid` != ? OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW)]); - $params = ['order' => ['uri-id' => false, 'uid' => true]]; - $thread_parents = Post::select(['uri-id', 'causer-id'], $condition, $params); + $thread_parents = Post::select(['uri-id', 'causer-id'], $condition, ['order' => ['uri-id' => false, 'uid' => true]]); $thr_parent = [];