ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,072
- Points
- 823
Reputation:
In
PHP:
The
Continue reading...
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 `fetchExtraContentForThreadsFullViewContinue reading...