Update src/Content/Conversation.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
2433fee461
commit
1e7a55180a
1 changed files with 1 additions and 2 deletions
|
@ -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 = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue