From e189bbd76a232ee71a9ad6b0d75d608a503dc899 Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 22 Jun 2011 00:02:29 -0700 Subject: [PATCH] Issue #1183844 by cwells73: Fixed FAPI element #title not sanitized. --- modules/color/color.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/color/color.module b/modules/color/color.module index f3fafe7b7e6..fbc00f13951 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -216,7 +216,7 @@ function color_scheme_form($complete_form, &$form_state, $theme) { if (isset($names[$name])) { $form['palette'][$name] = array( '#type' => 'textfield', - '#title' => $names[$name], + '#title' => check_plain($names[$name]), '#default_value' => $value, '#size' => 8, );