fetchExtraContentForThreadsFullView is not passed sticky threads

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
In XF\Pub\Controller\Forum::actionForum:

PHP:

Code:
$allThreads = $threads;
if ($stickyThreads)
{
    $allThreads->merge($stickyThreads);
}
$forumTypeHandler->fetchExtraContentForThreadsFullView($forum, $allThreads);

The ArrayCollection::merge returns a new instance, and doesn't modify the existing copy, meaning sticky threads are not passed to `fetchExtraContentForThreadsFullView

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom