امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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