Fixed PHP warning about empty styles in Joomla 3