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 = [];