Bug fetchExtraContentForThreadsFullView is not passed sticky threads

There is a bug in this version
X

Xon

Guest
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...