Commit d85db53a authored by anthonylindsay's avatar anthonylindsay

Removed call to check_plain and included it in t() function.

parent 153c5544
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment