Fixed fetchExtraContentForThreadsFullView is not passed sticky threads

Xon

Well-known member
Affected version
2.2.15
In XF\Pub\Controller\Forum::actionForum:

PHP:
$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
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.16).

Change log:
Ensure sticky threads are passed to the fetchExtraContentForThreadsFullView method
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom