Fixed Bb code twice

kick

Well-known member
Affected version
2.0.0 Beta 4
in the Templater:
PHP:
    public function fnBbCode($templater, &$escape, $bbCode, $context, $user = null, array $options = [], $type = 'html')
    {
        if ($user !== null)
        {
            $options['user'] = $user;
        }

        $escape = false;
        return $this->app->bbCode()->render($bbCode, $type, $context, $options);
        return $this->app->bbCode()->render($bbCode, $type, $context, $options);
    }
 
Back
Top Bottom