- Affected version
- 2.2.15
In
The
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: