Update src/Content/Conversation.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
2433fee461
commit
1e7a55180a
|
@ -963,8 +963,7 @@ class Conversation
|
||||||
$condition = DBA::mergeConditions($condition,
|
$condition = DBA::mergeConditions($condition,
|
||||||
["`uid` IN (0, ?) AND (`vid` != ? OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW)]);
|
["`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, ['order' => ['uri-id' => false, 'uid' => true]]);
|
||||||
$thread_parents = Post::select(['uri-id', 'causer-id'], $condition, $params);
|
|
||||||
|
|
||||||
$thr_parent = [];
|
$thr_parent = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue