امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Not a bug but I guess can be cleaned up: XF\Template\Templater::filterReplace() contains the following code:
PHP:
How can the 2nd conditional ever come true when the first conditional just made sure $from is an array..
PHP:
کد:
if (!is_array($from))
{
$from = [$from => $to];
}
if (!is_array($from))
{
return $value;
}
How can the 2nd conditional ever come true when the first conditional just made sure $from is an array..
