summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reid2009-09-23 18:42:01 (GMT)
committerDave Reid2009-09-23 18:42:01 (GMT)
commit979da16831f0c1d1d2d1ebddb06967239706b8fa (patch)
treec8804a2b21c36b7c42048878c6bd3d4f6348fca2
parentbde62946a14cdd1097dc05ea9a67a346cdc51acd (diff)
#585952 (SA-CONTRIB-2009-062) by dmitrig01: Fixed missing check_plain() with drupal_set_title().5.x-1.2
-rw-r--r--devel.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index 5b12d81..96ecb6e 100644
--- a/devel.module
+++ b/devel.module
@@ -1034,7 +1034,7 @@ function devel_variable_edit($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.drupal.org/api/HEAD/function/variable_set'))
);
}
- drupal_set_title($name);
+ drupal_set_title(check_plain($name));
return $form;
}