Duplicate scope problem in XenForo_ViewPublic_Helper_Editor

R

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;)
 
R

ragtek

Guest
Not in mine package.

(i'll download & check the package again)
 

Mike

XenForo developer
Staff member
It is fixed in my download - perhaps it wasn't overwritten correctly?
 
Top