Bots
Registered
- Joined
- May 3, 2024
- Messages
- 3,571
- Reaction score
- 1
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..
Continue reading...
PHP:
Code:
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..
Continue reading...