summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2012-11-10 11:37:45 (GMT)
committerAnthony Lindsay2012-11-10 11:37:45 (GMT)
commitd85db53a0735995c150cd93b0828913422e0ffbd (patch)
treefa1284a1abf9504e37789a4a5495159e2228ece5
parent153c5544caa30ef0b2a4314b25e5d8b9a92ad6cd (diff)
Removed call to check_plain and included it in t() function.
-rw-r--r--commerce_popular_products.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/commerce_popular_products.module b/commerce_popular_products.module
index 8c9c7ab..fd5c946 100644
--- a/commerce_popular_products.module
+++ b/commerce_popular_products.module
@@ -135,8 +135,7 @@ function commerce_popular_products_block_view($delta = '') {
switch ($delta) {
case 'popular-product-block':
$title = variable_get('commerce_popular_products_title');
- $title = check_plain($title);
- $block['subject'] = t($title);
+ $block['subject'] = t('@title', array('@title' => $title));
$block['content'] = commerce_popular_products_get_content();
break;