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

Duplicate scope problem in XenForo_ViewPublic_Helper_Editor

Discussion in 'Resolved Bug Reports' started by ragtek, Jan 13, 2011.

  1. ragtek

    ragtek Guest

    PHP:
    public static function getEditorSmilies(array $smilies null)
        {
            if (!
    is_array($smilies))
            {
                if (
    XenForo_Application::isRegistered('smilies'))
                {
                    
    $smilies XenForo_Application::get('smilies');
                }
                else
                {
                    
    $smilies XenForo_Model::create('XenForo_Model_Smilie')->getAllSmiliesForCache();
                    
    XenForo_Application::set('smilies'$options['smilies']);
                }
            }
    XenForo_Application::get('options'); is missing at the start;)
     
  2. Mike

    Mike XenForo Developer Staff Member

    That was already fixed in beta 6.
     
  3. ragtek

    ragtek Guest

    Not in mine package.

    (i'll download & check the package again)
     
  4. Mike

    Mike XenForo Developer Staff Member

    It is fixed in my download - perhaps it wasn't overwritten correctly?
     

Share This Page