gigipmc
Active member
Not a bug but I guess can be cleaned up: XF\Template\Templater::filterReplace() contains the following code:
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..