summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ruppel2012-03-14 14:51:51 (GMT)
committer Chris Ruppel2012-03-14 14:51:51 (GMT)
commitc27c318c9aa5f3c83b7a07e379c8b38db2cca5bd (patch)
tree2383b8900d5d0865867b1d6200f1b184c85dfee2
parenta0d75e9882cec4851e62967be874e8fedaebad9d (diff)
Fixing the formatting of some output.7.x-1.27.x-1.x
-rw-r--r--theme/views_lang_switch.theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/views_lang_switch.theme.inc b/theme/views_lang_switch.theme.inc
index b11878e..422bbac 100644
--- a/theme/views_lang_switch.theme.inc
+++ b/theme/views_lang_switch.theme.inc
@@ -35,7 +35,7 @@ function template_preprocess_views_lang_switch_results(&$vars) {
$current_lang = $language->language;
$language_list = _views_lang_switch_get_language_list();
- $path = $_GET['q'];
+ $path = check_plain($_GET['q']);
$counts = $vars['counts'];
$vars['views_lang_switch_output'] = '';