// Normalize + use $this->smarty instead of $this->context->smarty in modules
This commit is contained in:
@@ -62,8 +62,7 @@ class BlockCurrencies extends Module
|
||||
|
||||
if (!count(Currency::getCurrencies()))
|
||||
return '';
|
||||
// @todo remove this and use smartyTemplate
|
||||
$this->context->smarty->assign('blockcurrencies_sign', $this->context->currency->sign);
|
||||
$this->smarty->assign('blockcurrencies_sign', $this->context->currency->sign);
|
||||
return $this->display(__FILE__, 'blockcurrencies.tpl');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user