Do not assume that DefaultLang is escaped.

This commit is contained in:
Michal Čihař
2010-08-18 12:37:20 +02:00
parent 48e9096600
commit 05ca00e0a2

View File

@@ -173,8 +173,7 @@ display_fieldset_top('', '', null, array('class' => 'simple'));
$opts = array(
'doc' => $form_display->getDocLink('DefaultLang'),
'wiki' => $form_display->getWikiLink('DefaultLang'),
'values' => array(),
'values_escaped' => true);
'values' => array());
foreach ($all_languages as $each_lang_key => $each_lang) {
if (!file_exists($GLOBALS['lang_path'] . $each_lang[1] . '.inc.php')) {
continue;