diff --git a/commerce_popular_products.module b/commerce_popular_products.module index 345d7abab7797d1e421e4cbe6f9bdce519df89c6..798adf9aaf8abd1eab3b208f6c22c282ee4a9004 100644 --- a/commerce_popular_products.module +++ b/commerce_popular_products.module @@ -134,7 +134,7 @@ function commerce_popular_products_block_view($delta = '') { $block = array(); switch ($delta) { case 'popular-product-block': - $block['subject'] = variable_get('commerce_popular_products_title'); + $block['subject'] = check_plain(variable_get('commerce_popular_products_title')); $block['content'] = commerce_popular_products_get_content(); break;