@ -39,7 +39,7 @@ class HTML_QuickForm_Select_Theme extends HTML_QuickForm_select
$this->_values = array();
foreach ($themes as $theme)
{
$this->addOption($theme,$theme);
$this->addOption((empty($theme)?'--':$theme),$theme);
}
@ -1826,7 +1826,7 @@ function api_get_languages()
function api_get_themes()
$cssdir = api_get_path(SYS_PATH).'main/css/';
$list = array();
$list = array('');
if (is_dir($cssdir))
$themes = scandir($cssdir);