امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Every other location which touches
This can result in a race condition between a post reaction cache being rebuilt and the reactions container cache being rebuilt.
PHP:
Read more
container('reactions') guards against the reaction id being tested against actually exists in the cache. This appears to be the only place which doesn't.This can result in a race condition between a post reaction cache being rebuilt and the reactions container cache being rebuilt.
PHP:
کد:
if ($scoreField)
{
$reactionsCache = \XF::app()->container('reactions');
$score = 0;
foreach ($counts AS $reactionId => $count)
{
$reaction =...
Read more
