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

Fixed Undefinited variable: boardUrl

giorgino

Well-known member
#1
My board don't send e-mails to users anymore...

ErrorException:Undefined variable: boardUrl -library/XenForo/BbCode/Formatter/HtmlEmail.php:36
Generato Da: hell4eg, Oggi alle 10:19
 
R

ragtek

Guest
#3
that's a xf 1.1 bug and i think i've already reported this.

PHP:
        if ($smilieUrl[0] == '/')
        {
            if (self::$_boardRoot === null)
            {
                $boardUrl = XenForo_Application::get('options')->boardUrl;
                self::$_boardRoot = substr($boardUrl, 0, strpos($boardUrl, '/', 8));
            }

            // absolute path to this server
            return $boardUrl . parent::_prepareSmilieUrlInternal($smilieUrl);

        }
i think it's because of: $boardUrl is not set, if boardRoot is not null