// Remove Module->templateAssign() from modules (use $this->smarty->assign() instead)

This commit is contained in:
rMalie committed 2011-12-05 14:04:35 +00:00
1 parent 0563d88dcc
commit 68d80262d5
21 files changed
+86 -104

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ class BlockSpecials extends Module
if (!$special = Product::getRandomSpecial((int)$params['cookie']->id_lang) AND !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
return;
$this->templateAssign(array(
$this->smarty->assign(array(
'special' => $special,
'priceWithoutReduction_tax_excl' => Tools::ps_round($special['price_without_reduction'], 2),
'mediumSize' => Image::getSize('medium'),