Do not assume that DefaultLang is escaped.
This commit is contained in:
@@ -173,8 +173,7 @@ display_fieldset_top('', '', null, array('class' => 'simple'));
|
|||||||
$opts = array(
|
$opts = array(
|
||||||
'doc' => $form_display->getDocLink('DefaultLang'),
|
'doc' => $form_display->getDocLink('DefaultLang'),
|
||||||
'wiki' => $form_display->getWikiLink('DefaultLang'),
|
'wiki' => $form_display->getWikiLink('DefaultLang'),
|
||||||
'values' => array(),
|
'values' => array());
|
||||||
'values_escaped' => true);
|
|
||||||
foreach ($all_languages as $each_lang_key => $each_lang) {
|
foreach ($all_languages as $each_lang_key => $each_lang) {
|
||||||
if (!file_exists($GLOBALS['lang_path'] . $each_lang[1] . '.inc.php')) {
|
if (!file_exists($GLOBALS['lang_path'] . $each_lang[1] . '.inc.php')) {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user