summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2014-09-29 09:32:29 (GMT)
committerAnthony Lindsay2014-09-29 09:32:29 (GMT)
commit7c06d91dbeeaaa16ef5d78a58e4b223e31cced7d (patch)
tree95aadd59a9bad44df8d5a4cf4bfa2542c3931a60
parent0df9ba3051c9c690886476af1ca4903a14093e58 (diff)
Sanitize block heading on display.
-rw-r--r--commerce_popular_products.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/commerce_popular_products.module b/commerce_popular_products.module
index 39dd5e4..08701cd 100644
--- a/commerce_popular_products.module
+++ b/commerce_popular_products.module
@@ -203,7 +203,7 @@ function commerce_popular_products_settings_form($form, &$form_state) {
$time = variable_get('commerce_popular_products_time', 'month');
$number = variable_get('commerce_popular_products_number', '1');
$products = variable_get('commerce_popular_products_products');
- $title = variable_get('commerce_popular_products_title', 'Popular Products This Month');
+ $title = check_plain(variable_get('commerce_popular_products_title', 'Popular Products This Month'));
$product_types = commerce_popular_products_get_product_types();
$form['block_title'] = array(
'#type' => 'textfield',