• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Bb code twice

Affected version
2.0.0 Beta 4
#1
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);
    }