In
PHP:
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Читать далее...