summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reid2009-09-23 18:42:42 (GMT)
committerDave Reid2009-09-23 18:42:42 (GMT)
commit8be56f38313b364a6b70a779e2412b17c7c62aa8 (patch)
tree81b381b1ac4cb21a9a8abd37c073058d048238fd
parentd0a322d2ed3a7deac3314bf314d04d672ce04c58 (diff)
#585952 (SA-CONTRIB-2009-062) by dmitrig01: Fixed missing check_plain() with drupal_set_title().6.x-1.18
-rw-r--r--devel.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index 50b2bd7..3feac04 100644
--- a/devel.module
+++ b/devel.module
@@ -1246,7 +1246,7 @@ function devel_variable_edit($form_state, $name) {
'#value' => t('Sorry, complex variable types may not be edited yet. Use the <em>Execute PHP</em> block and the <a href="@variable-set-doc">variable_set()</a> function.', array('@variable-set-doc' => "http://$api/api/HEAD/function/variable_set"))
);
}
- drupal_set_title($name);
+ drupal_set_title(check_plain($name));
return $form;
}